summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorghen <ghen>2006-03-09 11:30:51 +0000
committerghen <ghen>2006-03-09 11:30:51 +0000
commit8564d9b5e929f14f906eaa38d2cbda9d3722fc42 (patch)
tree80bd19c1909f6431548641bac9608be865bcf6dd /geography
parent809d0f991431499246606675f3a1bae4c777e1b5 (diff)
downloadpkgsrc-8564d9b5e929f14f906eaa38d2cbda9d3722fc42.tar.gz
Use REPLACE_INTERPRETER instead of SUBST.
Diffstat (limited to 'geography')
-rw-r--r--geography/gpsdrive/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/geography/gpsdrive/Makefile b/geography/gpsdrive/Makefile
index 293c3911bc7..d7ac59c582c 100644
--- a/geography/gpsdrive/Makefile
+++ b/geography/gpsdrive/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/02/05 23:09:26 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2006/03/09 11:30:51 ghen Exp $
DISTNAME= gpsdrive-1.31
PKGREVISION= 9
@@ -20,10 +20,10 @@ USE_LANGUAGE= c c++
# XXX make this an option
CONFIGURE_ARGS+= --disable-mysql
-SUBST_CLASSES+= bash
-SUBST_STAGE.bash= post-patch
-SUBST_FILES.bash= src/gpsfetchmap
-SUBST_SED.bash= -e 's,\#!/bin/bash,\#!/bin/sh,'
+REPLACE_INTERPRETER+= bash
+_REPLACE.bash.old= /bin/bash
+_REPLACE.bash.new= ${SH:Q}
+_REPLACE_FILES.bash= src/gpsfetchmap
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib/buildlink3.mk"