diff options
author | hans <hans> | 2011-09-14 15:44:23 +0000 |
---|---|---|
committer | hans <hans> | 2011-09-14 15:44:23 +0000 |
commit | 54051a02fd4c0f7923a8212ad868c2c827733c00 (patch) | |
tree | 28c9ffca91f0a2ffc18cf0f78e9a863754eb90ef /audio/mpg123/Makefile | |
parent | 7bec8df1383f3c47b189782a56aa4f1179453f5f (diff) | |
download | pkgsrc-54051a02fd4c0f7923a8212ad868c2c827733c00.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'audio/mpg123/Makefile')
-rw-r--r-- | audio/mpg123/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile index e871b6e1f79..6a6cf7c5ea5 100644 --- a/audio/mpg123/Makefile +++ b/audio/mpg123/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.49 2010/05/12 13:16:15 martin Exp $ +# $NetBSD: Makefile,v 1.50 2011/09/14 15:46:49 hans Exp $ PKGNAME= ${DISTNAME:C/[^[:alnum:]]*//} COMMENT= MPEG layer 1, 2, and 3 audio player @@ -36,6 +36,10 @@ CPPFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\"" CPPFLAGS+= -DDEVOSSSOUND="\"${DEVOSSSOUND}\"" .endif +.if ${OPSYS} == "SunOS" +MAKE_ENV+= SunOS_LDFLAGS="-shared -mimpure-text" +.endif + # MPG123_MODULE is not finally set yet, to avoid NOT_FOR_PLATFORM triggers .include "Makefile.common" |