Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 17:21:08 +0800
From:      chinsan <chinsan.tw@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101897: [MAINTAINER] net/ldapdiff: Respect DESTDIR
Message-ID:  <20060812091415.9D5C42E96A@smtp2.bc.hgc.com.tw>
Resent-Message-ID: <200608120920.k7C9KPbw092449@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060812091415.9D5C42E96A>