pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/uno On i386, remove the -m32 option from calls t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c86fd7e7d51b
branches:  trunk
changeset: 503425:c86fd7e7d51b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Nov 20 12:43:44 2005 +0000

description:
On i386, remove the -m32 option from calls to the compiler. gcc does not
know this option.

diffstat:

 devel/uno/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r f68ea2f52a4f -r c86fd7e7d51b devel/uno/Makefile
--- a/devel/uno/Makefile        Sun Nov 20 12:32:17 2005 +0000
+++ b/devel/uno/Makefile        Sun Nov 20 12:43:44 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/11/15 21:27:52 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2005/11/20 12:43:44 rillig Exp $
 #
 
 DISTNAME=              uno_v28
@@ -13,6 +13,12 @@
 WRKSRC=                        ${WRKDIR}/Uno/src
 MAKEFILE=              makefile
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386"
+BUILDLINK_TRANSFORM+=  rm:-m32
+.endif
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/uno ${PREFIX}/bin
        ${INSTALL_PROGRAM} ${WRKSRC}/uno_local ${PREFIX}/bin



Home | Main Index | Thread Index | Old Index