diff options
author | fhajny <fhajny@pkgsrc.org> | 2012-02-07 22:11:40 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2012-02-07 22:11:40 +0000 |
commit | 3325a76689ef5d09c2e1f41253906225fbe2ce96 (patch) | |
tree | 2614e8c845bae36f8364c5fe3aa90e6996797d28 /devel | |
parent | 36fab5cb6dcaf30034e29b4048aaaea31c77335c (diff) | |
download | pkgsrc-3325a76689ef5d09c2e1f41253906225fbe2ce96.tar.gz |
Make sure to pass CFLAGS=-m64 on SunOS when ABI=64, so that the resulting
libtool script contains proper 64bit flavors of the stdlib objects. Fixes
problem on SunOS when linking C++ objects. Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libtool-base/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/libtool-base/Makefile b/devel/libtool-base/Makefile index 6ebfff1e1e8..20d53a173e6 100644 --- a/devel/libtool-base/Makefile +++ b/devel/libtool-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.95 2011/05/14 16:49:45 bsiegert Exp $ +# $NetBSD: Makefile,v 1.96 2012/02/07 22:11:40 fhajny Exp $ ########################################################################### ########################################################################### @@ -26,7 +26,7 @@ .include "../../devel/libtool/Makefile.common" PKGNAME= ${DISTNAME:S/-/-base-/} -PKGREVISION= 5 +PKGREVISION= 6 SVR4_PKGNAME= ltoob COMMENT= Generic shared library support script (the script itself) @@ -57,6 +57,11 @@ CONFIGURE_ARGS+= --disable-libtool-lock CONFIGURE_ARGS+= --disable-shared BUILD_SHLIBTOOL= NO . endif + +.elif ${OPSYS} == "SunOS" +. if !empty(ABI:M64) +CFLAGS+= -m64 +. endif .endif BUILD_SHLIBTOOL?= YES |