diff options
author | richard <richard@pkgsrc.org> | 2015-10-05 03:56:17 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2015-10-05 03:56:17 +0000 |
commit | dfc684259c855a288edd7f36bd449c4eec2830d7 (patch) | |
tree | 982201a1d14b6326289b06e6a77b323f92bf8826 /audio | |
parent | a3f428ea70048f211e6497a450220a70d035a5e4 (diff) | |
download | pkgsrc-dfc684259c855a288edd7f36bd449c4eec2830d7.tar.gz |
Specify 'elf' output format for NASM on SunOS to get over undefined symbols
Configure would like an nm using easy to parse format -p on SunOS
bump PKGREVISION
Diffstat (limited to 'audio')
-rw-r--r-- | audio/openal/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/audio/openal/Makefile b/audio/openal/Makefile index 747e35a5605..13d9128b3ab 100644 --- a/audio/openal/Makefile +++ b/audio/openal/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.31 2014/02/28 11:59:10 jperkin Exp $ +# $NetBSD: Makefile,v 1.32 2015/10/05 03:56:17 richard Exp $ DISTNAME= openal-0.0.8 -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_GENTOO:=distfiles/} @@ -35,6 +35,18 @@ SUBST_SED.fixdev= -e 's;/dev/dsp;${DEVOSSSOUND};g' CONFIGURE_ENV+= NASM_FORMAT="-f macho" .endif +.if ${OPSYS} == "SunOS" +. if ${ABI} == "64" +CONFIGURE_ENV+= NASM_FORMAT="-f elf64" +. else +CONFIGURE_ENV+= NASM_FORMAT="-f elf32" +. endif +CONFIGURE_ENV+= NM="${NM:Unm} -p" +LDFLAGS+= -Wl,-zdefs +.endif + +BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm + .include "../../mk/pthread.buildlink3.mk" .include "../../mk/oss.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |