diff options
Diffstat (limited to 'print/ghostscript/hacks.mk')
-rw-r--r-- | print/ghostscript/hacks.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/print/ghostscript/hacks.mk b/print/ghostscript/hacks.mk index c789f930866..91ffe356c24 100644 --- a/print/ghostscript/hacks.mk +++ b/print/ghostscript/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.1 2007/01/09 21:03:02 tv Exp $ +# $NetBSD: hacks.mk,v 1.2 2008/11/13 17:36:54 chuck Exp $ ### [Tue Jan 9 15:57:05 EST 2007 : tv] ### Interix has u_int64_t, but not uint64_t @@ -9,3 +9,14 @@ 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}/src/unix-dll.mak > \ + ${WRKSRC}/src/unix-darwin.mak + ${MV} ${WRKSRC}/src/unix-darwin.mak ${WRKSRC}/src/unix-dll.mak +.endif |