From d75664f7e8df1e9de520d0bd461e9dab83586053 Mon Sep 17 00:00:00 2001 From: Simon Barner Date: Wed, 29 Jun 2005 09:27:04 +0000 Subject: - 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 on freebsd-ports: <200506281337.07507.josemi@redesjm.local> --- print/cups-pstoraster/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'print') 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 -.include +.include -- cgit v1.2.3