diff options
author | hubertf <hubertf> | 2001-03-27 03:19:43 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-03-27 03:19:43 +0000 |
commit | f63de72ad91a5e675f6b4da410b4fc8333fc0d81 (patch) | |
tree | 387535a43617bd882ee1e20ce4779c6544f8925b /print/ghostscript-nox11 | |
parent | 8f8631769bc10d6d2843a57e8f6ca7d8c8fa63da (diff) | |
download | pkgsrc-f63de72ad91a5e675f6b4da410b4fc8333fc0d81.tar.gz |
Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.
While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).
Patch by Alistair Crooks <agc@netbsd.org>
Diffstat (limited to 'print/ghostscript-nox11')
-rw-r--r-- | print/ghostscript-nox11/Makefile.common | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/print/ghostscript-nox11/Makefile.common b/print/ghostscript-nox11/Makefile.common index 2971f719ec4..4b2041c7a9a 100644 --- a/print/ghostscript-nox11/Makefile.common +++ b/print/ghostscript-nox11/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.5 2000/09/04 16:37:05 wiz Exp $ +# $NetBSD: Makefile.common,v 1.6 2001/03/27 03:20:13 hubertf Exp $ DISTNAME= ghostscript-${GS_VERS} GS_VERS= 6.01 @@ -18,8 +18,6 @@ DEPENDS+= png>=1.0.6:../../graphics/png # Adobe's JPEG implementation in their PDF/PS documents is non-standard, # so we can't use an already installed libjpeg.so. # -BUILD_DEPENDS+= ${BUILD_ROOT}/graphics/jpeg/${WRKDIR:T}/jpeg-6b:../../graphics/jpeg:extract - GS_SOURCES= ${DISTNAME}${EXTRACT_SUFX} DISTFILES+= ${GS_SOURCES} @@ -174,6 +172,9 @@ post-patch: < ${WRKDIR}/dmp_site.ps.bak > ${WRKDIR}/dmp_site.ps do-configure: + if [ ! -e ${BUILD_ROOT}/graphics/jpeg/${WRKDIR:T}/jpeg-6b ]; then \ + cd ../../graphics/jpeg && ${MAKE} extract; \ + fi # # Append build rules for extra drivers to contrib.mak # |