summaryrefslogtreecommitdiffstats
path: root/sysutils/ipsc
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-10-22 01:54:24 +0000
committerleeym <leeym@FreeBSD.org>2004-10-22 01:54:24 +0000
commit1daf379c5fbf04a533c2704d695e4289b5fabee3 (patch)
tree2169c0fec7456037a9a30ed798b8a1542e0acae5 /sysutils/ipsc
parentea5177ad8650b4a47dbfe452015b6984c6ebbdac (diff)
downloadFreeBSD-ports-1daf379c5fbf04a533c2704d695e4289b5fabee3.zip
FreeBSD-ports-1daf379c5fbf04a533c2704d695e4289b5fabee3.tar.gz
- use relative path instead of absolute path
Diffstat (limited to 'sysutils/ipsc')
-rw-r--r--sysutils/ipsc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/ipsc/Makefile b/sysutils/ipsc/Makefile
index 0e2aece..1567bda 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
OpenPOWER on IntegriCloud