diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/dhid/Makefile | 6 | ||||
-rw-r--r-- | net/dhid/files/dhid.sh.sample | 5 |
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 |