diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-07-25 09:25:16 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-07-25 09:25:16 +0000 |
commit | f363c842b1702ba31617e5b59dbee606308ac394 (patch) | |
tree | 886b186feb69d2b11179001661835abf3f7fe432 /print/ghostscript9 | |
parent | Fix hidden dependency due to USE_FOO=yes after including bsd.port.pre.mk. (diff) |
Set ${MASTERDIR} to ${.CURDIR} and use it for .include "files/foo".
Changes in r323629 broke ghostscript*-nox11.
Pointed out by: bapt
Notes
Notes:
svn path=/head/; revision=323630
Diffstat (limited to 'print/ghostscript9')
-rw-r--r-- | print/ghostscript9/Makefile | 4 | ||||
-rw-r--r-- | print/ghostscript9/files/Makefile.drivers_post | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile index 63dbd254f41a..2c79297fb5c3 100644 --- a/print/ghostscript9/Makefile +++ b/print/ghostscript9/Makefile @@ -98,7 +98,9 @@ EXCLUDE_DIRS= freetype jbig2dec jpeg expat jasper lcms lcms2 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/ghostscript9/files/Makefile.drivers_post b/print/ghostscript9/files/Makefile.drivers_post index e342f9d8ef60..76e71f71df0e 100644 --- a/print/ghostscript9/files/Makefile.drivers_post +++ b/print/ghostscript9/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 |