ports/101897: [MAINTAINER] net/ldapdiff: Respect DESTDIR
chinsan
chinsan.tw at gmail.com
Sat Aug 12 09:20:27 UTC 2006
>Number: 101897
>Category: ports
>Synopsis: [MAINTAINER] net/ldapdiff: Respect DESTDIR
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 12 09:20:24 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: chinsan
>Release: FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan2.twbbs.org 6.1-STABLE FreeBSD 6.1-STABLE #1: Fri Jun 2 16:44:35 CST
>Description:
- Respect DESTDIR
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- ldapdiff-1.2.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/ldapdiff/Makefile /usr/home/chinsan/project/ldapdiff/Makefile
--- /usr/ports/net/ldapdiff/Makefile Thu Jun 22 17:14:36 2006
+++ /usr/home/chinsan/project/ldapdiff/Makefile Sat Aug 12 17:16:10 2006
@@ -17,18 +17,18 @@
USE_ICONV= yes
USE_OPENLDAP= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} \
- --with-ldap-dir=${PREFIX} \
- --with-iconv-dir=${PREFIX}
+CONFIGURE_ARGS= --prefix=${LOCALBASE} \
+ --with-ldap-dir=${LOCALBASE} \
+ --with-iconv-dir=${LOCALBASE}
SAMPLES= addentry webtomware_without_jpeg.user.ldif \
webtomware.init.ldif webtomware.user.ldif
MAN1= ldapdiff.1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ldapdiff ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/ldapdiff ${TARGETDIR}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/ldapdiff.conf \
- ${PREFIX}/etc/ldapdiff.conf.sample
+ ${TARGETDIR}/etc/ldapdiff.conf.sample
@${MKDIR} ${DATADIR}/samples
.for i in ${SAMPLES}
${INSTALL_DATA} ${WRKSRC}/samples/${i} ${DATADIR}/samples
--- ldapdiff-1.2.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list