diff options
author | agc <agc@pkgsrc.org> | 1999-10-22 14:43:06 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-10-22 14:43:06 +0000 |
commit | e540dadbe3d971a15248933449333d5e179da95f (patch) | |
tree | 57801c71c77b3e9267ffded137bb100373256f35 /misc | |
parent | 7728e6f519b3ebcf22d8d7d24a77a0e72344da12 (diff) | |
download | pkgsrc-e540dadbe3d971a15248933449333d5e179da95f.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')
-rw-r--r-- | misc/jitterbug/Makefile | 10 |
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} |