diff options
author | hrs <hrs@FreeBSD.org> | 2013-07-25 17:25:16 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-07-25 17:25:16 +0800 |
commit | e46b62b937dd9a4300c2982756f846ed7084e4e9 (patch) | |
tree | 886b186feb69d2b11179001661835abf3f7fe432 /print/ghostscript8 | |
parent | 9e88f8de7382e30b4ba40ffc369a77a3c5e59d83 (diff) | |
download | freebsd-ports-gnome-e46b62b937dd9a4300c2982756f846ed7084e4e9.tar.gz freebsd-ports-gnome-e46b62b937dd9a4300c2982756f846ed7084e4e9.tar.zst freebsd-ports-gnome-e46b62b937dd9a4300c2982756f846ed7084e4e9.zip |
Set ${MASTERDIR} to ${.CURDIR} and use it for .include "files/foo".
Changes in r323629 broke ghostscript*-nox11.
Pointed out by: bapt
Diffstat (limited to 'print/ghostscript8')
-rw-r--r-- | print/ghostscript8/Makefile | 4 | ||||
-rw-r--r-- | print/ghostscript8/files/Makefile.drivers_post | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile index f5e23505bccb..2eb675f8f5b4 100644 --- a/print/ghostscript8/Makefile +++ b/print/ghostscript8/Makefile @@ -94,7 +94,9 @@ EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib .include "Makefile.drivers" .include <bsd.port.options.mk> -.include "files/Makefile.drivers_post" + +MASTERDIR?= ${.CURDIR} +.include "${MASTERDIR}/files/Makefile.drivers_post" .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ diff --git a/print/ghostscript8/files/Makefile.drivers_post b/print/ghostscript8/files/Makefile.drivers_post index b4a62b0b155f..b1290667cc4c 100644 --- a/print/ghostscript8/files/Makefile.drivers_post +++ b/print/ghostscript8/files/Makefile.drivers_post @@ -3,12 +3,12 @@ # dmprt specific .if ${PORT_OPTIONS:MGS_dmprt} -.include "files/Makefile.dmprt" +.include "${MASTERDIR}/files/Makefile.dmprt" .endif # epag specific .if ${PORT_OPTIONS:MGS_epag} -.include "files/Makefile.epag" +.include "${MASTERDIR}/files/Makefile.epag" .endif EPAG_BASE= epag @@ -24,7 +24,7 @@ post-extract: post-extract-epag # pcl3 specific .if ${PORT_OPTIONS:MGS_pcl3} -.include "files/Makefile.pcl3" +.include "${MASTERDIR}/files/Makefile.pcl3" .endif # cups specific |