From 4cd36e32e972e7bd6a22518fe060e657cae2cb51 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Tue, 1 Jan 2002 14:07:39 +0000 Subject: Fix build if ${PORTSDIR} is a symlink by finding jpeg's WRKSRC properly. --- print/ghostscript-gnu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print/ghostscript-gnu') diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile index eb0952e2cd99..d8cc0ad686d6 100644 --- a/print/ghostscript-gnu/Makefile +++ b/print/ghostscript-gnu/Makefile @@ -130,7 +130,7 @@ pre-everything:: post-extract: ${ECHO_MSG} ">>> in post-extract ..." - ${LN} -sf ${WRKDIRPREFIX}/${PORTSDIR}/graphics/jpeg/work/jpeg-6b \ + ${LN} -sf `cd ${PORTSDIR}/graphics/jpeg && ${MAKE} -V WRKSRC` \ ${WRKSRC}/jpeg # ** 3rd party driver ** # Note: don't forget to add those devices in scripts/configure and -- cgit v1.2.3