diff options
author | rillig <rillig@pkgsrc.org> | 2005-11-20 12:43:44 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-11-20 12:43:44 +0000 |
commit | e58fa2bb6a52bc46767ee8b266542bbbd0d2c07d (patch) | |
tree | 67fdfa97fd13814577ebbeec6d611fa595039b9b /devel/uno | |
parent | 5efd66f548cebf8ec212e15ac2e0b44e556d028a (diff) | |
download | pkgsrc-e58fa2bb6a52bc46767ee8b266542bbbd0d2c07d.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/Makefile | 8 |
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 |