diff options
author | hans <hans@pkgsrc.org> | 2011-09-14 17:26:48 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-09-14 17:26:48 +0000 |
commit | 06e36fa8dfb283fb82027e696239cbd7082c1e68 (patch) | |
tree | b43e9f0d0030d8b2e449f68035c71a5dd9c85948 | |
parent | b28e7afdbe808e99eed5c77e3bb0dc1706cc439f (diff) | |
download | pkgsrc-06e36fa8dfb283fb82027e696239cbd7082c1e68.tar.gz |
Fix build on SunOS.
The fixes intended for SunPRO compilers apply to SunOS in general.
-rw-r--r-- | multimedia/xvidcore/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/xvidcore/Makefile b/multimedia/xvidcore/Makefile index 295d144e1a2..3388290053d 100644 --- a/multimedia/xvidcore/Makefile +++ b/multimedia/xvidcore/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2011/07/19 18:56:46 drochner Exp $ +# $NetBSD: Makefile,v 1.40 2011/09/14 17:26:48 hans Exp $ DISTNAME= xvidcore-1.3.2 CATEGORIES= multimedia @@ -28,12 +28,12 @@ BUILD_DEPENDS+= nasm>=0.98.39nb3:../../devel/nasm #BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm .endif -.if !empty(PKGSRC_COMPILER:Msunpro) +.if !empty(PKGSRC_COMPILER:Msunpro) || ${OPSYS} == "SunOS" 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_FILES.ld= build/generic/configure SUBST_SED.ld= -e "s|-Wl,-soname,libxvidcore...(SHARED_EXTENSION)...(API_MAJOR)||" SUBST_SED.ld+= -e "s|-Wl,--version-script=libxvidcore.ld||" .endif |