diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-01 14:56:46 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-01 14:56:46 +0000 |
commit | 9d8a01229371306fb97d24595a6c4a2b4ecb816c (patch) | |
tree | 092819d40d9d4530c6099bd398e962214c9531c4 /net | |
parent | 2527b18e5afd04a4a333f4c2de20e253acc73e07 (diff) | |
download | pkgsrc-9d8a01229371306fb97d24595a6c4a2b4ecb816c.tar.gz |
Fixed pkglint warnings.
Diffstat (limited to 'net')
-rw-r--r-- | net/ja-samba/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/net/ja-samba/Makefile b/net/ja-samba/Makefile index 7552c96ebab..695d6081ecf 100644 --- a/net/ja-samba/Makefile +++ b/net/ja-samba/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2006/07/07 15:49:33 jlam Exp $ +# $NetBSD: Makefile,v 1.48 2006/10/01 14:56:46 rillig Exp $ DISTNAME= samba-${SAMBA_VERSION}-ja-${JA_VERSION} PKGNAME= ja-samba-${SAMBA_VERSION}.${JA_PKG_VERSION} @@ -33,6 +33,8 @@ SAMBA_LOGDIR?= ${SAMBA_VARDIR}/log SAMBA_PIDDIR?= ${SAMBA_VARDIR}/run SAMBA_PRIVATE?= ${SAMBA_ETCDIR}/private SAMBA_VARDIR?= ${VARBASE} +BUILD_DEFS+= SAMBA_ETCDIR SAMBA_LIBDIR SAMBA_LOCKDIR SAMBA_LOGDIR +BUILD_DEFS+= SAMBA_PIDDIR SAMBA_PRIVATE SAMBA_VARDIR VARBASE FILES_SUBST+= SAMBA_ETCDIR=${SAMBA_ETCDIR:Q} FILES_SUBST+= SAMBA_LOCKDIR=${SAMBA_LOCKDIR:Q} @@ -106,7 +108,6 @@ DOCDIR= ${PREFIX}/share/doc/samba EGDIR= ${PREFIX}/share/examples/samba USE_PKGLOCALEDIR= YES -USE_LANGUAGE= c USE_LIBTOOL= yes SHLIBTOOL_OVERRIDE= # empty @@ -152,11 +153,14 @@ FILES_SUBST+= PWD_MKDB=${PWD_MKDB:Q} REPLACE_PERL= script/findsmb.in SUBST_CLASSES+= paths -SUBST_FILES.paths= ${WRKDIR}/adduser.sh ${WRKDIR}/deluser.sh -SUBST_SED.paths+= -e 's,@AWK@,${AWK},g' -e 's,@CAT@,${CAT},g' -SUBST_SED.paths+= -e 's,@MKTEMP@,${MKTEMP},g' -e 's,@RM@,${RM},g' -SUBST_SED.paths+= -e 's,@PWD_MKDB@,${PWD_MKDB},g' -e 's,@SH@,${SH},g' SUBST_STAGE.paths= post-patch +SUBST_FILES.paths= ${WRKDIR}/adduser.sh ${WRKDIR}/deluser.sh +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' INSTALLATION_DIRS+= bin include lib @@ -176,7 +180,7 @@ post-extract: ${CP} ${FILESDIR}/deluser.sh ${WRKDIR}/deluser.sh post-install: - -cd ${PREFIX}/lib && ${LN} -s libsmbclient.so libsmbclient.so.0 + cd ${PREFIX}/lib && ${LN} -s libsmbclient.so libsmbclient.so.0 || ${TRUE} .if !empty(NSS_WINBIND) ${INSTALL_LIBRARY} ${WRKSRC}/nsswitch/${NSS_WINBIND} ${PREFIX}/lib .endif @@ -196,7 +200,7 @@ post-install: ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_SCRIPT} ${WRKDIR}/adduser.sh ${EGDIR}/adduser.sh ${INSTALL_SCRIPT} ${WRKDIR}/deluser.sh ${EGDIR}/deluser.sh - ${CP} -R ${WRKDIR}/${DISTNAME}/examples/* ${EGDIR} + cd ${WRKDIR}/${DISTNAME}/examples && pax -wr -pp . ${EGDIR} ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EGDIR} ${CHMOD} -R ugo-w ${EGDIR} |