pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ghostscript 8.64 fails to build under Darwin
===> Overriding tools for ghostscript-8.64
===> Extracting for ghostscript-8.64
=> Fixing resource directory path
/bin/mkdir -p /Users/ianm/ports/pkgsrc/print/ghostscript/work/
ghostscript-8.64/bin
/bin/mkdir -p /Users/ianm/ports/pkgsrc/print/ghostscript/work/
ghostscript-8.64/obj
/bin/mv /Users/ianm/ports/pkgsrc/print/ghostscript/work/
ghostscript-8.64/libpng /Users/ianm/ports/pkgsrc/print/ghostscript/
work/ghostscript-8.64/libpng.dontuse
===> Patching for ghostscript-8.64
=> Applying pkgsrc patches for ghostscript-8.64
/usr/bin/sed -e 's/^#Darwin#//' /Users/ianm/ports/pkgsrc/print/
ghostscript/work/ghostscript-8.64/src/unix-dll.mak > /Users/ianm/
ports/pkgsrc/print/ghostscript/work/ghostscript-8.64/src/unix-darwin.mak
/bin/sh: /Users/ianm/ports/pkgsrc/print/ghostscript/work/
ghostscript-8.64/src/unix-darwin.mak: No such file or directory
*** Error code 1
Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/print/ghostscript
*** Error code 1
Stop.
bmake: stopped in /Users/ianm/ports/pkgsrc/print/ghostscript
I can confirm that there is no src/ directory at all, has been changed
to base/
Apply the following diff to fix..........at least it's building atm.
Will report further if the build fails.
Ian McWilliam
Index: hacks.mk
===================================================================
RCS file: /cvsroot/pkgsrc/print/ghostscript/hacks.mk,v
retrieving revision 1.2
diff -u -p -u -r1.2 hacks.mk
--- hacks.mk 13 Nov 2008 17:36:54 -0000 1.2
+++ hacks.mk 13 Feb 2009 03:32:34 -0000
@@ -16,7 +16,7 @@ CPPFLAGS.Interix+= -Duint64_t=u_int64_t
### 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
+ ${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
Home |
Main Index |
Thread Index |
Old Index