diff options
author | wiz <wiz@pkgsrc.org> | 2010-04-05 18:50:48 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-04-05 18:50:48 +0000 |
commit | a983c33bf2be72ef6a60058790d2c1a05ee122e4 (patch) | |
tree | 4240976455b86ec27740f948ad19a2d553031212 /misc/fbreader/Makefile | |
parent | 19577eb54f39a347d4af74643222f605e868f523 (diff) | |
download | pkgsrc-a983c33bf2be72ef6a60058790d2c1a05ee122e4.tar.gz |
Pass in DO_ICONV_CAST on Solaris and NetBSD instead of incorrect
patch. Noted by Alexander Polakov in PR 43113.
Diffstat (limited to 'misc/fbreader/Makefile')
-rw-r--r-- | misc/fbreader/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/fbreader/Makefile b/misc/fbreader/Makefile index 3d2cd4609fc..7a5eb4027be 100644 --- a/misc/fbreader/Makefile +++ b/misc/fbreader/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2010/01/18 09:59:13 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2010/04/05 18:50:48 wiz Exp $ # DISTNAME= fbreader-sources-0.10.7 @@ -24,6 +24,12 @@ MAKE_ENV+= DESTDIR=${DESTDIR} MAKE_ENV+= LDFLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib MAKE_ENV+= TARGET_ARCH=desktop +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" +CPPFLAGS+= -DDO_ICONV_CAST +.endif + .include "options.mk" .include "../../archivers/bzip2/buildlink3.mk" |