diff options
author | chopps <chopps> | 1998-01-15 18:38:21 +0000 |
---|---|---|
committer | chopps <chopps> | 1998-01-15 18:38:21 +0000 |
commit | f4389b7e5bbb3256ef5d421f1306edcb2f815c3a (patch) | |
tree | 1bb1dd68d3d2873d143a3f822b6ff1b670b98cd8 /print/ghostscript5 | |
parent | 34dbbc55eb2a46b028aa5278733a51158318e71c (diff) | |
download | pkgsrc-f4389b7e5bbb3256ef5d421f1306edcb2f815c3a.tar.gz |
make work with OBJMACHINE
Diffstat (limited to 'print/ghostscript5')
-rw-r--r-- | print/ghostscript5/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/print/ghostscript5/Makefile b/print/ghostscript5/Makefile index 7b760145cbd..0fa49bd10a4 100644 --- a/print/ghostscript5/Makefile +++ b/print/ghostscript5/Makefile @@ -3,7 +3,7 @@ # Date created: Tue Jun 10 21:58:54 CEST 1997 # Whom: Andreas Klemm <andreas@klemm.gtn.com> # -# $NetBSD: Makefile,v 1.6 1998/01/06 04:05:04 hubertf Exp $ +# $NetBSD: Makefile,v 1.7 1998/01/15 18:38:21 chopps Exp $ # FreeBSD Id: Makefile,v 1.14 1997/10/13 11:22:43 asami Exp # @@ -17,8 +17,14 @@ DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \ MAINTAINER= explorer@netbsd.org -BUILD_DEPENDS= ${PORTSDIR}/graphics/jpeg/work/jpeg-6a:${PORTSDIR}/graphics/jpeg:extract \ - ${PORTSDIR}/graphics/png/work/libpng-0.96:${PORTSDIR}/graphics/png:extract \ +.if defined(OBJMACHINE) +WRKDIRNAME=work.${ARCH} +.else +WRKDIRNAME=work +.endif + +BUILD_DEPENDS= ${PORTSDIR}/graphics/jpeg/${WRKDIRNAME}/jpeg-6a:${PORTSDIR}/graphics/jpeg:extract \ + ${PORTSDIR}/graphics/png/${WRKDIRNAME}/libpng-0.96:${PORTSDIR}/graphics/png:extract \ unzip:${PORTSDIR}/archivers/unzip MAKE_ENV= PORTSDIR=${PORTSDIR} @@ -62,8 +68,8 @@ post-extract: ${TOUCH} ${WRKSRC}/adler32.o ${TOUCH} ${WRKSRC}/deflate.o ${TOUCH} ${WRKSRC}/trees.o - ln -s ${PORTSDIR}/graphics/jpeg/work/jpeg-6a ${WRKSRC}/jpeg-6a - ln -s ${PORTSDIR}/graphics/png/work/libpng-0.96 ${WRKSRC}/libpng + ln -s ${PORTSDIR}/graphics/jpeg/${WRKDIRNAME}/jpeg-6a ${WRKSRC}/jpeg-6a + ln -s ${PORTSDIR}/graphics/png/${WRKDIRNAME}/libpng-0.96 ${WRKSRC}/libpng cd ${WRKSRC} && unzip -La ${DISTDIR}/${HP850_DRV} do-configure: |