aboutsummaryrefslogtreecommitdiffstats
path: root/print/cups-pstoraster
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2005-06-29 17:27:04 +0800
committerbarner <barner@FreeBSD.org>2005-06-29 17:27:04 +0800
commit3d5728293e7194333853a51fd01fb36ee0999367 (patch)
tree5fcfbdabd9464677f402f7f7c12d862640711981 /print/cups-pstoraster
parent337f2b294c2f6dbf6eff4d80b5554b313982a444 (diff)
downloadfreebsd-ports-gnome-3d5728293e7194333853a51fd01fb36ee0999367.tar.gz
freebsd-ports-gnome-3d5728293e7194333853a51fd01fb36ee0999367.tar.zst
freebsd-ports-gnome-3d5728293e7194333853a51fd01fb36ee0999367.zip
- Fix patch stage when /usr/ports is a symlink to a non standard location
of the ports tree's root, and PORTSDIR is _not_ set. [1] - Use `bsd.port.mk' instead of `bsd.port.pre.mk' `bsd.port.post.mk' in two consecutive lines Reported by: kris via pointhat and Thierry Herbelot <thierry@herbelot.com> on freebsd-ports: <200506281337.07507.josemi@redesjm.local>
Diffstat (limited to 'print/cups-pstoraster')
-rw-r--r--print/cups-pstoraster/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/print/cups-pstoraster/Makefile b/print/cups-pstoraster/Makefile
index 22a4c64572cc..885d49ab8e55 100644
--- a/print/cups-pstoraster/Makefile
+++ b/print/cups-pstoraster/Makefile
@@ -28,7 +28,7 @@ ESPGS_VER= ${PORTVERSION}rc3
DISTNAME= espgs-${ESPGS_VER}-source
EXTRACT_AFTER_ARGS= | ${TAR} -xf - espgs-${ESPGS_VER}/pstoraster
ESPGS_WRKSRC= ${WRKDIR}/espgs-${ESPGS_VER}/pstoraster
-WRKSRC= ${WRKDIRPREFIX}${PORTSDIR}/${GHOSTSCRIPT_PORT}/work/ghostscript
+WRKSRC= ${WRKDIRPREFIX}$$(${REALPATH} ${PORTSDIR})/${GHOSTSCRIPT_PORT}/work/ghostscript
PATCH_WRKSRC= ${ESPGS_WRKSRC}
USE_BZIP2= yes
@@ -76,5 +76,4 @@ do-install:
${INSTALL_DATA} ${ESPGS_WRKSRC}/${file} ${PREFIX}/share/cups/model
.endfor
-.include <bsd.port.pre.mk>
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>