summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-06-18 09:22:14 +0000
committeragc <agc@pkgsrc.org>2003-06-18 09:22:14 +0000
commit1cf87833d6f3d487d18a5123c684ffbbbb2f098a (patch)
treecc7d19b68940ae694dd05424c812173b1ca6be07 /net
parent2f63c47a2660ab1fe1d8d71ffa79e12eac329312 (diff)
downloadpkgsrc-1cf87833d6f3d487d18a5123c684ffbbbb2f098a.tar.gz
When constructing the WRKSRC definition, use ${PKGNAME_NOREV} rather than
${PKGNAME}, so that the WRKSRC definition is immune from any subsequent PKGREVISION changes. With thanks to jmc for the nudge.
Diffstat (limited to 'net')
-rw-r--r--net/iperf/Makefile4
-rw-r--r--net/unison/Makefile6
2 files changed, 5 insertions, 5 deletions
diff --git a/net/iperf/Makefile b/net/iperf/Makefile
index c1b0de71102..a1cfa81e491 100644
--- a/net/iperf/Makefile
+++ b/net/iperf/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2003/06/02 01:17:57 jschauma Exp $
+# $NetBSD: Makefile,v 1.4 2003/06/18 09:22:24 agc Exp $
#
DISTNAME= iperf-1.6.5-source
PKGNAME= ${DISTNAME:C/-source//}
-WRKSRC= ${WRKDIR}/${PKGNAME}
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CATEGORIES= net
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf/
diff --git a/net/unison/Makefile b/net/unison/Makefile
index 908c7ae1ef5..238ad78abee 100644
--- a/net/unison/Makefile
+++ b/net/unison/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2003/06/02 01:17:39 jschauma Exp $
+# $NetBSD: Makefile,v 1.13 2003/06/18 09:22:24 agc Exp $
#
DISTNAME= src
PKGNAME= unison-2.9.1
-WRKSRC= ${WRKDIR}/${PKGNAME}
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CATEGORIES= net
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/stable/latest/
@@ -14,7 +14,7 @@ COMMENT= file-synchronization tool
BUILD_DEPENDS= ocaml>=3.00:../../lang/ocaml
BUILD_DEPENDS+= bash>=2.05:../../shells/bash2
-DIST_SUBDIR= ${PKGNAME}
+DIST_SUBDIR= ${PKGNAME_NOREV}
# docs: unison-manual.pdf/html/ps/dvi
USE_GMAKE= yes