aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-10-22 09:54:24 +0800
committerleeym <leeym@FreeBSD.org>2004-10-22 09:54:24 +0800
commit1daf379c5fbf04a533c2704d695e4289b5fabee3 (patch)
tree2169c0fec7456037a9a30ed798b8a1542e0acae5 /sysutils
parentea5177ad8650b4a47dbfe452015b6984c6ebbdac (diff)
downloadfreebsd-ports-gnome-1daf379c5fbf04a533c2704d695e4289b5fabee3.tar.gz
freebsd-ports-gnome-1daf379c5fbf04a533c2704d695e4289b5fabee3.tar.zst
freebsd-ports-gnome-1daf379c5fbf04a533c2704d695e4289b5fabee3.zip
- use relative path instead of absolute path
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ipsc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/ipsc/Makefile b/sysutils/ipsc/Makefile
index 0e2aece7499c..1567bda16d5c 100644
--- a/sysutils/ipsc/Makefile
+++ b/sysutils/ipsc/Makefile
@@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= jeremy@external.org
COMMENT= An IP Subnet Calculator
-BUILD_DEPENDS= ${WRKDIRPREFIX}${PORTSDIR}/sysutils/prips/work/prips/prips.o:${PORTSDIR}/sysutils/prips:build
+BUILD_DEPENDS= ${PRIPS_WRKSRC}/prips.o:${.CURDIR}/../prips:build
WRKSRC= ${WRKDIR}/ipsc/src
@@ -31,9 +31,10 @@ PLIST_FILES+= bin/gipsc
ALL_TARGET= ipsc
.endif
+PRIPS_WRKSRC!= cd ${.CURDIR}/../prips && ${MAKE} -V WRKSRC
+
post-extract:
- @${LN} -s ${WRKDIRPREFIX}${PORTSDIR}/sysutils/prips/work/prips \
- ${WRKDIR}/prips
+ ${LN} -s ${PRIPS_WRKSRC} ${WRKDIR}/prips
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ipsc ${PREFIX}/bin