summaryrefslogtreecommitdiff
path: root/net/dhid
diff options
context:
space:
mode:
authorjlam <jlam>1999-07-20 06:32:05 +0000
committerjlam <jlam>1999-07-20 06:32:05 +0000
commite1ad8911ea7405419ed9f405b5cd0befde55c5bf (patch)
treef4d917a8d06698b4c30f21c79a03f2978b5a122a /net/dhid
parent252a90864e849b630c264b9adf4ea76fdc911ab2 (diff)
downloadpkgsrc-e1ad8911ea7405419ed9f405b5cd0befde55c5bf.tar.gz
Correct dhid.sh.sample script by replacing @ECHO@ with ${ECHO}.
Also add RCS ID tag to dhid.sh.sample.
Diffstat (limited to 'net/dhid')
-rw-r--r--net/dhid/Makefile6
-rw-r--r--net/dhid/files/dhid.sh.sample5
2 files changed, 7 insertions, 4 deletions
diff --git a/net/dhid/Makefile b/net/dhid/Makefile
index bbe605564c1..1a3ad1dac5f 100644
--- a/net/dhid/Makefile
+++ b/net/dhid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $
+# $NetBSD: Makefile,v 1.2 1999/07/20 06:32:05 jlam Exp $
#
DISTNAME= dhid-3.0
@@ -15,8 +15,8 @@ pre-patch:
do-configure:
${SED} -e "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/dtool.in >${WRKSRC}/dtool
- ${SED} -e "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/dhid.sh.sample \
- >${WRKDIR}/dhid.sh.sample
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" -e "s,@ECHO@,${ECHO},g" \
+ ${FILESDIR}/dhid.sh.sample >${WRKDIR}/dhid.sh.sample
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/libexec
diff --git a/net/dhid/files/dhid.sh.sample b/net/dhid/files/dhid.sh.sample
index 47f12a1a96e..f0fe5de5dd1 100644
--- a/net/dhid/files/dhid.sh.sample
+++ b/net/dhid/files/dhid.sh.sample
@@ -1,6 +1,9 @@
#!/bin/sh
+#
+# $NetBSD: dhid.sh.sample,v 1.2 1999/07/20 06:32:05 jlam Exp $
+
DHID=@PREFIX@/libexec/dhid
if [ -f ${DHID} ]; then
- ${ECHO} -n " dhid"
+ @ECHO@ -n " dhid"
${DHID}
fi