diff options
author | wennmach <wennmach@pkgsrc.org> | 2000-01-06 17:02:47 +0000 |
---|---|---|
committer | wennmach <wennmach@pkgsrc.org> | 2000-01-06 17:02:47 +0000 |
commit | 6ca0272670fbb165e2069da53900581292ad278b (patch) | |
tree | 10543919b88bf290350c3567d030181a6b964844 /misc | |
parent | 3b738b2482d93f9cbf5419605171900099002071 (diff) | |
download | pkgsrc-6ca0272670fbb165e2069da53900581292ad278b.tar.gz |
Make this Makefile work again.
A block of garbage was imported by someone in version 1.6 and somebody else
removed the wrong pieces in version 1.7. And if someone (or somebody else)
wants to replace awk by ${AWK}, please test thoroughly before committing.
Thomas Klausner (wiz@netbsd.org) pointed me to this broken Makefile.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/jitterbug/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/jitterbug/Makefile b/misc/jitterbug/Makefile index c2d6e18d81c..c42f8fa29a5 100644 --- a/misc/jitterbug/Makefile +++ b/misc/jitterbug/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1999/12/20 05:31:05 sakamoto Exp $ +# $NetBSD: Makefile,v 1.9 2000/01/06 17:02:47 wennmach Exp $ DISTNAME= jitterbug-1.6.2 WRKSRC= ${WRKDIR}/${PKGNAME}/source @@ -42,8 +42,7 @@ JB_CONFIGDIR= ${JB_USER}/config JB_LOCALMAIL?= ${JB_PACKAGE}-bugs .if !defined(JB_FQHOSTNAME) -JB_HOSTNAME!= /bin/hostname -JB_FQHOSTNAME!= ${NSLOOKUP} ${JB_HOSTNAME} | ${AWK} '/^Name: / { print $$2; exit }' +JB_FQHOSTNAME!= (${HOSTCMD} `/bin/hostname` 2>/dev/null || echo totally.unknown.domain) | /usr/bin/awk '{ print $$1; exit }' .endif JB_EMAIL?= ${JB_LOCALMAIL}@${JB_FQHOSTNAME} |