summaryrefslogtreecommitdiff
path: root/devel/cfitsio
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 /devel/cfitsio
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 'devel/cfitsio')
-rw-r--r--devel/cfitsio/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/cfitsio/Makefile b/devel/cfitsio/Makefile
index cdcb2caccdd..dd7f18089a1 100644
--- a/devel/cfitsio/Makefile
+++ b/devel/cfitsio/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2003/03/29 12:40:31 jmmv Exp $
+# $NetBSD: Makefile,v 1.7 2003/06/18 09:22:17 agc Exp $
DISTNAME= cfitsio2037
PKGNAME= cfitsio-2.0.37
-WRKSRC= ${WRKDIR}/${PKGNAME:C/-.*//}
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:C/-.*//}
CATEGORIES= devel
MASTER_SITES= ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/