diff options
author | obache <obache@pkgsrc.org> | 2011-03-20 12:13:44 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-20 12:13:44 +0000 |
commit | 7e2a2828b1f278461253d7d05136ac0b5a95ac7c (patch) | |
tree | 2ef64642bfd8f99222dbba621af7b894c55cbe5d /net | |
parent | b9ce6281e247538c5204a28888d445e4aebcfe6b (diff) | |
download | pkgsrc-7e2a2828b1f278461253d7d05136ac0b5a95ac7c.tar.gz |
for the case of PKG_SYSCONFBASE!=${PREFIX}/etc, and use SUBST for replace.
Diffstat (limited to 'net')
-rw-r--r-- | net/sendfile/Makefile | 13 | ||||
-rw-r--r-- | net/sendfile/distinfo | 4 | ||||
-rw-r--r-- | net/sendfile/patches/patch-aa | 4 |
3 files changed, 9 insertions, 12 deletions
diff --git a/net/sendfile/Makefile b/net/sendfile/Makefile index 710c2c6e10c..152b94dd18d 100644 --- a/net/sendfile/Makefile +++ b/net/sendfile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2011/03/20 12:00:15 obache Exp $ +# $NetBSD: Makefile,v 1.25 2011/03/20 12:13:44 obache Exp $ # DISTNAME= sendfile-20010216 @@ -21,13 +21,10 @@ CONF_FILES+= ${EGDIR}/sendfile.deny ${PKG_SYSCONFDIR}/sendfile.deny OVERRIDE_GNU_CONFIG_SCRIPTS= yes -pre-configure: - cd ${WRKSRC} && \ - ${SED} -e 's,@PREFIX@,${PREFIX},g' \ - -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' \ - < makeconfig > makeconfig.new; \ - ${MV} makeconfig.new makeconfig; \ - ${CHMOD} +x makeconfig +SUBST_CLASSES+= makeconfig +SUBST_STAGE.makeconfig= pre-configure +SUBST_FILES.makeconfig= makeconfig +SUBST_VARS.makeconfig= PREFIX PKG_SYSCONFBASEDIR post-configure: cd ${WRKSRC} &&${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} config diff --git a/net/sendfile/distinfo b/net/sendfile/distinfo index e609420baaf..6e8a0aa12b3 100644 --- a/net/sendfile/distinfo +++ b/net/sendfile/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.8 2006/02/24 19:43:56 joerg Exp $ +$NetBSD: distinfo,v 1.9 2011/03/20 12:13:44 obache Exp $ SHA1 (sendfile-20010216.tar.gz) = cdf6ff67bdc11709209c5f93ac94d380fa1abac3 RMD160 (sendfile-20010216.tar.gz) = 3e1f9648875b1844d391b86b733c8d04318c4d90 Size (sendfile-20010216.tar.gz) = 292130 bytes -SHA1 (patch-aa) = 315a33dd0c389ff5f67f2e9a8ff3df2b3e8b7dfd +SHA1 (patch-aa) = 3b61185e0d0a4e792945cdfc1ec1e318b77869c5 SHA1 (patch-ab) = c74cf201573068d8e1afa8e285831181d1be789e SHA1 (patch-ac) = 14f393e122870cd4246ddbb6534e7568dbed5968 SHA1 (patch-ad) = ec9cf6dd79b6856c196058cb3117f2b140fffa31 diff --git a/net/sendfile/patches/patch-aa b/net/sendfile/patches/patch-aa index 6aaa3e1e530..1df13948c6c 100644 --- a/net/sendfile/patches/patch-aa +++ b/net/sendfile/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.5 2006/02/24 19:43:56 joerg Exp $ +$NetBSD: patch-aa,v 1.6 2011/03/20 12:13:44 obache Exp $ --- makeconfig.orig 1999-08-26 18:53:32.000000000 +0000 +++ makeconfig @@ -19,7 +19,7 @@ $NetBSD: patch-aa,v 1.5 2006/02/24 19:43:56 joerg Exp $ -SERVERDIR=/usr/local/sbin +BINDIR=@PREFIX@/bin +MANDIR=@PREFIX@/man -+CONFIG=@PREFIX@/etc ++CONFIG=@PKG_SYSCONFBASEDIR@ +EGDIR=@PREFIX@/share/examples/sendfile +SERVERDIR=@PREFIX@/sbin INETDCONF=/etc/inetd.conf |