pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/samba simplify with SUBST_VARS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c038f169274d
branches:  trunk
changeset: 631387:c038f169274d
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Mar 03 08:05:07 2014 +0000

description:
simplify with SUBST_VARS.

diffstat:

 net/samba/Makefile |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (23 lines):

diff -r 193d1b98aae8 -r c038f169274d net/samba/Makefile
--- a/net/samba/Makefile        Mon Mar 03 06:56:35 2014 +0000
+++ b/net/samba/Makefile        Mon Mar 03 08:05:07 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.243 2014/02/12 23:18:25 tron Exp $
+# $NetBSD: Makefile,v 1.244 2014/03/03 08:05:07 obache Exp $
 
 DISTNAME=      samba-${VERSION}
 PKGREVISION=   1
@@ -106,12 +106,7 @@
 SUBST_MESSAGE.paths=   Fixing paths.
 SUBST_FILES.paths=     ${WRKDIR}/adduser.sh ${WRKDIR}/deluser.sh
 SUBST_STAGE.paths=     post-patch
-SUBST_SED.paths+=      -e 's,@AWK@,${AWK},g'
-SUBST_SED.paths+=      -e 's,@CAT@,${CAT},g'
-SUBST_SED.paths+=      -e 's,@MKTEMP@,${MKTEMP},g'
-SUBST_SED.paths+=      -e 's,@RM@,${RM},g'
-SUBST_SED.paths+=      -e 's,@PWD_MKDB@,${PWD_MKDB},g'
-SUBST_SED.paths+=      -e 's,@SH@,${SH},g'
+SUBST_VARS.paths+=     AWK CAT MKTEMP RM PWD_MKDB SH
 
 post-extract:
        ${CP} ${FILESDIR}/adduser.sh ${FILESDIR}/deluser.sh ${WRKDIR}



Home | Main Index | Thread Index | Old Index