summaryrefslogtreecommitdiff
path: root/misc/jitterbug/Makefile
diff options
context:
space:
mode:
authoragc <agc>1999-10-22 14:43:06 +0000
committeragc <agc>1999-10-22 14:43:06 +0000
commit5488850d4b0d91b0b50b5281a5dc69e8a60bb1b5 (patch)
tree57801c71c77b3e9267ffded137bb100373256f35 /misc/jitterbug/Makefile
parentc4579fbfcb3e1b622143a0ce2a60de81dae79fda (diff)
downloadpkgsrc-5488850d4b0d91b0b50b5281a5dc69e8a60bb1b5.tar.gz
Move the inclusion of bsd.prefs.mk before the first use of any variable
which may be defined in /etc/mk.conf Use a complicated echo & sed combination, rather than hostname -s, which doesn't work on Solaris.
Diffstat (limited to 'misc/jitterbug/Makefile')
-rw-r--r--misc/jitterbug/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/jitterbug/Makefile b/misc/jitterbug/Makefile
index 54166384ad7..d257d3c1e9e 100644
--- a/misc/jitterbug/Makefile
+++ b/misc/jitterbug/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1999/10/11 13:39:03 wennmach Exp $
+# $NetBSD: Makefile,v 1.3 1999/10/22 14:43:06 agc Exp $
DISTNAME= jitterbug-1.6.2
WRKSRC= ${WRKDIR}/${PKGNAME}/source
@@ -11,7 +11,7 @@ HOMEPAGE= http://jitterbug.samba.org/
DEPENDS+= addnerd:../../sysutils/addnerd
DEPENDS+= apache-1.3.*:../../www/apache
-PLIST_SRC= ${WRKDIR}/PLIST.tmp
+PLIST_SRC= ${WRKDIR}/PLIST-src
REQ_FILE= ${WRKDIR}/REQ
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
MESSAGE_FILE= ${WRKDIR}/MESSAGE
@@ -19,6 +19,8 @@ CONFIGDIR= ${WRKDIR}/${PKGNAME}/config
DOCSDIR= ${WRKDIR}/${PKGNAME}/docs
CGIBINDIR= libexec/cgi-bin
+.include "../../mk/bsd.prefs.mk"
+
JB_PACKAGE?= test
JB_USER?= jitter
@@ -34,14 +36,12 @@ JB_LOCALMAIL?= ${JB_PACKAGE}-bugs
.if !defined(JB_FQHOSTNAME)
JB_FQHOSTNAME!= hostname
.endif
-JB_HOSTNAME!= hostname -s
+JB_HOSTNAME!= echo '${JB_FQHOSTNAME}' | sed -e 's|\..*||'
JB_EMAIL?= ${JB_LOCALMAIL}@${JB_FQHOSTNAME}
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
-.include "../../mk/bsd.prefs.mk"
-
pre-extract:
.if ${JB_PACKAGE} == "test"
@${ECHO}