diff options
author | sketch <sketch> | 2009-01-20 23:25:55 +0000 |
---|---|---|
committer | sketch <sketch> | 2009-01-20 23:25:55 +0000 |
commit | bba50769e6b89f30028e51f05c154fdc06c1c8c9 (patch) | |
tree | 000ec08562714038c74c9ed1ffa2c1e9aab4d49d /multimedia | |
parent | 553a058138c36077c7ddfc42f657d10ac8d249df (diff) | |
download | pkgsrc-bba50769e6b89f30028e51f05c154fdc06c1c8c9.tar.gz |
Fix for Sun Studio.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xvidcore/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/xvidcore/Makefile b/multimedia/xvidcore/Makefile index 3a758212060..2f49aa4beaf 100644 --- a/multimedia/xvidcore/Makefile +++ b/multimedia/xvidcore/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2009/01/07 10:52:12 wiz Exp $ +# $NetBSD: Makefile,v 1.32 2009/01/20 23:25:55 sketch Exp $ DISTNAME= xvidcore-1.2.1 CATEGORIES= multimedia @@ -26,6 +26,16 @@ BUILD_DEPENDS+= nasm>=0.98.39nb3:../../devel/nasm #BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm .endif +.if !empty(PKGSRC_COMPILER:Msunpro) +CFLAGS+= -D__inline=inline +SUBST_CLASSES+= ld +SUBST_MESSAGE.ld= Fixing linker arguments for Solaris +SUBST_STAGE.ld= pre-configure +SUBST_FILES.ld= configure +SUBST_SED.ld= -e "s|-Wl,-soname,libxvidcore...(SHARED_EXTENSION)...(API_MAJOR)||" +SUBST_SED.ld+= -e "s|-Wl,--version-script=libxvidcore.ld||" +.endif + PKG_INSTALLATION_TYPES= overwrite pkgviews WRKSRC= ${WRKDIR}/xvidcore/build/generic |