summaryrefslogtreecommitdiff
path: root/devel/uno
diff options
context:
space:
mode:
authorrillig <rillig>2005-11-20 12:43:44 +0000
committerrillig <rillig>2005-11-20 12:43:44 +0000
commit9196c82379efe363db58026aa9f651273e0bc173 (patch)
tree67fdfa97fd13814577ebbeec6d611fa595039b9b /devel/uno
parent20f0be06d5b57b4e42d8e9730d2f8386334d7286 (diff)
downloadpkgsrc-9196c82379efe363db58026aa9f651273e0bc173.tar.gz
On i386, remove the -m32 option from calls to the compiler. gcc does not
know this option.
Diffstat (limited to 'devel/uno')
-rw-r--r--devel/uno/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/uno/Makefile b/devel/uno/Makefile
index ccc7b5f5cce..753cb9daaea 100644
--- a/devel/uno/Makefile
+++ b/devel/uno/Makefile
@@ -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 @@ COMMENT= Tool for source code analysis
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