summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2016-07-10 10:07:16 +0000
committerrillig <rillig@pkgsrc.org>2016-07-10 10:07:16 +0000
commit22f932f88331b17227bb9b23624bb3820d0cd85d (patch)
tree62b51034cf0276630707d958c703aacb1d4e5187 /comms
parent0824c36abed5a3f76d4cfac110a3372ab0c31a64 (diff)
downloadpkgsrc-22f932f88331b17227bb9b23624bb3820d0cd85d.tar.gz
Removed unused BUILDLINK_SETENV and made Makefile simpler.
Diffstat (limited to 'comms')
-rw-r--r--comms/fidogate/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/comms/fidogate/Makefile b/comms/fidogate/Makefile
index 0460e8fe369..48ae9e5bb10 100644
--- a/comms/fidogate/Makefile
+++ b/comms/fidogate/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2016/07/10 09:59:07 rillig Exp $
+# $NetBSD: Makefile,v 1.73 2016/07/10 10:07:16 rillig Exp $
#
DISTNAME= fidogate-4.4.10
@@ -13,8 +13,7 @@ COMMENT= FidoNet (FTN) <-> Internet mail and news gateway
MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake makeinfo perl:run yacc
-MAKE_ENV+= DEBUG="${CFLAGS} -Werror"
-BUILDLINK_SETENV.CC= CC="cc ${_STRIPFLAG_CC}"
+MAKE_ENV+= DEBUG=${CFLAGS:Q}" -Werror"
EGDIR= ${PREFIX}/share/examples/fidogate
CONF_FILES= ${EGDIR}/fidogate.conf ${PKG_SYSCONFDIR}/fidogate/fidogate.conf
@@ -31,21 +30,17 @@ NO_CONFIGURE= yes
SUBST_CLASSES+= paths
SUBST_FILES.paths= config.make
-SUBST_SED.paths= -e "s,@PREFIX@,"${PREFIX}",g"
-SUBST_SED.paths+= -e "s,@PKG_SYSCONFDIR@,"${PKG_SYSCONFDIR}",g"
-SUBST_SED.paths+= -e "s,@PKGINFODIR@,"${PKGINFODIR}",g"
-SUBST_SED.paths+= -e "s,@PERL@,"${TOOLS_PATH.perl}",g"
+SUBST_SED.paths= -e "s,@PREFIX@,${PREFIX},g"
+SUBST_SED.paths+= -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g"
+SUBST_SED.paths+= -e "s,@PKGINFODIR@,${PKGINFODIR},g"
+SUBST_SED.paths+= -e "s,@PERL@,${TOOLS_PATH.perl},g"
SUBST_STAGE.paths= pre-build
# Too many schar/uchar issues.
BUILDLINK_TRANSFORM+= rm:-Werror
OWN_DIRS= ${PKG_SYSCONFDIR}/fidogate
-INSTALLATION_DIRS+= ${EGDIR} lib/fidogate \
- lib/fidogate/bin share/doc/fidogate \
- share/fidogate share/fidogate/sendmail \
- ${PKGINFODIR} \
- share/fidogate/sendmail/mailer share/examples/rc.d
+AUTO_MKDIRS= yes
FIDOGATE_SUID_PERMS= news news 4111
SPECIAL_PERMS+= ${PREFIX}/lib/fidogate/ffx ${FIDOGATE_SUID_PERMS} \