diff options
author | Shaun Amott <shaun@FreeBSD.org> | 2006-08-23 20:57:28 +0000 |
---|---|---|
committer | Shaun Amott <shaun@FreeBSD.org> | 2006-08-23 20:57:28 +0000 |
commit | 696e5bd2a8f9f106df6ccda850350667f5b56b7f (patch) | |
tree | bdeaa991544a963f527f0308bff245621b58c26e /news/inn | |
parent | 0843ea4b4d01ddc18a745703deb63f3fb003e22a (diff) | |
download | ports-696e5bd2a8f9f106df6ccda850350667f5b56b7f.tar.gz ports-696e5bd2a8f9f106df6ccda850350667f5b56b7f.zip |
Notes
Diffstat (limited to 'news/inn')
-rw-r--r-- | news/inn/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile index 3310415e793d..9c8a9346cfee 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -48,12 +48,13 @@ CONFIGURE_ARGS+= --mandir=${PREFIX}/man \ # Attempt to avoid failures later on, when # makedbz is executed: we need a valid hostname. -.if exists(/bin/echo) && exists(/bin/hostname) -HOSTNAME!= `/bin/echo /bin/hostname` +.if exists(/bin/hostname) +HOSTNAME!= /bin/hostname +. if ${HOSTNAME} != "" HOSTNAME:= ${HOSTNAME:C/[^\.]//g} - -. if ${HOSTNAME} == "" +. if ${HOSTNAME} == "" IGNORE= requires a fully-qualified hostname in order to build +. endif . endif .endif |