From m.seaman@infracaninophile.co.uk  Wed Aug 16 10:10:59 2006
Return-Path: <m.seaman@infracaninophile.co.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3ED3316A4DD
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Aug 2006 10:10:59 +0000 (UTC)
	(envelope-from m.seaman@infracaninophile.co.uk)
Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5BB7D43D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Aug 2006 10:10:57 +0000 (GMT)
	(envelope-from m.seaman@infracaninophile.co.uk)
Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1])
	by smtp.infracaninophile.co.uk (8.13.6/8.13.6) with ESMTP id k7GAAfSM051659
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Aug 2006 11:10:41 +0100 (BST)
	(envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk)
Received: (from matthew@localhost)
	by happy-idiot-talk.infracaninophile.co.uk (8.13.6/8.13.6/Submit) id k7GAADcM051656;
	Wed, 16 Aug 2006 11:10:13 +0100 (BST)
	(envelope-from matthew)
Message-Id: <200608161010.k7GAADcM051656@happy-idiot-talk.infracaninophile.co.uk>
Date: Wed, 16 Aug 2006 11:10:13 +0100 (BST)
From: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Reply-To: Matthew Seaman <m.seaman@infracaninophile.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer] net/phpldapadmin -- respect DESTDIR
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         102135
>Category:       ports
>Synopsis:       [maintainer] net/phpldapadmin -- respect DESTDIR
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 16 10:20:14 GMT 2006
>Closed-Date:    Tue Mar 20 19:14:15 GMT 2007
>Last-Modified:  Tue Mar 20 19:14:15 GMT 2007
>Originator:     Matthew Seaman
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 6.1-STABLE FreeBSD 6.1-STABLE #3: Tue Aug 15 13:33:02 BST 2006 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386


	
>Description:

Do the DESTDIR thing.

>How-To-Repeat:
	
>Fix:

	

--- phpldapadmin.diff begins here ---
diff -Nur /usr/ports/net/phpldapadmin/Makefile phpldapadmin/Makefile
--- /usr/ports/net/phpldapadmin/Makefile	Wed Jul  5 03:30:55 2006
+++ phpldapadmin/Makefile	Wed Aug 16 10:25:50 2006
@@ -85,7 +85,7 @@
 install-app:
 	cd ${WRKSRC} ; \
 	for src in $$( ${FIND} . ! -name .cvsignore  ) ; do \
-	    dst=${PREFIX}/${PLADIR}$${src#.} ; \
+	    dst=${TARGETDIR}/${PLADIR}$${src#.} ; \
 	    if ${TEST} -d $$src ; then \
 	        ${MKDIR} $$dst ; \
 	    else \
@@ -94,7 +94,7 @@
 	done
 
 install-conf:
-	cd ${PREFIX}/${PLADIR}/${CFGDIR} ; \
+	cd ${TARGETDIR}/${PLADIR}/${CFGDIR} ; \
 	${CHMOD} 0640 ${CFGFILE}.example ; \
 	${CHGRP} ${PLAGRP} ${CFGFILE}.example ; \
 	if ${TEST} ! -f ${CFGFILE} ; then \
--- phpldapadmin.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Aug 16 10:20:25 UTC 2006 
Responsible-Changed-Why:  
miwi@ wants to have DESTDIR PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102135 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Tue Mar 20 19:14:14 UTC 2007 
State-Changed-Why:  
i close this here. DESTDIR support is stopped. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102135 
>Unformatted:
