diff options
Diffstat (limited to 'print/ghostscript-gpl/hacks.mk')
-rw-r--r-- | print/ghostscript-gpl/hacks.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/hacks.mk b/print/ghostscript-gpl/hacks.mk new file mode 100644 index 00000000000..69e520af0e0 --- /dev/null +++ b/print/ghostscript-gpl/hacks.mk @@ -0,0 +1,22 @@ +# $NetBSD: hacks.mk,v 1.1 2013/03/16 21:32:00 dholland Exp $ + +### [Tue Jan 9 15:57:05 EST 2007 : tv] +### Interix has u_int64_t, but not uint64_t +### (gdevpdfe.c doesn't use the autoconf test based int64 type, +### but absolutely requires a 64-bit unsigned int) +### +.if ${OPSYS} == "Interix" +PKG_HACKS+= interix-uint64_t +CPPFLAGS.Interix+= -Duint64_t=u_int64_t +.endif + +### [ Thu Nov 13 12:30:45 EST 2008 : chuck] +### gs has hand-rolled shared lib handling that doesn't do the right +### thing on Darwin by default, you need to reconfigure unix-dll.mak +### to make it work. +.if ${OPSYS} == "Darwin" +post-patch: + ${SED} -e 's/^#Darwin#//' ${WRKSRC}/base/unix-dll.mak > \ + ${WRKSRC}/base/unix-darwin.mak + ${MV} ${WRKSRC}/base/unix-darwin.mak ${WRKSRC}/base/unix-dll.mak +.endif |