pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/fidogate Removed unused BUILDLINK_SETENV and mad...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a1659672cee8
branches:  trunk
changeset: 349555:a1659672cee8
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jul 10 10:07:16 2016 +0000

description:
Removed unused BUILDLINK_SETENV and made Makefile simpler.

diffstat:

 comms/fidogate/Makefile |  19 +++++++------------
 1 files changed, 7 insertions(+), 12 deletions(-)

diffs (46 lines):

diff -r 896b3f717f8f -r a1659672cee8 comms/fidogate/Makefile
--- a/comms/fidogate/Makefile   Sun Jul 10 09:59:07 2016 +0000
+++ b/comms/fidogate/Makefile   Sun Jul 10 10:07:16 2016 +0000
@@ -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 @@
 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 @@
 
 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} \



Home | Main Index | Thread Index | Old Index