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 | 1a84a612a0fd59202d57e405d844db18bd72ae85 (patch) | |
tree | 67fdfa97fd13814577ebbeec6d611fa595039b9b /devel | |
parent | b06833b0b6d203ebcd98113d7486411c1c7a8d3b (diff) | |
download | pkgsrc-1a84a612a0fd59202d57e405d844db18bd72ae85.tar.gz |
On i386, remove the -m32 option from calls to the compiler. gcc does not
know this option.
Diffstat (limited to 'devel')
-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 |