From m.seaman@infracaninophile.co.uk  Wed Aug 16 10:11:17 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 4426E16A4DD
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Aug 2006 10:11:17 +0000 (UTC)
	(envelope-from m.seaman@infracaninophile.co.uk)
Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.187.76.162])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 17FEE43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Aug 2006 10:11:15 +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 k7GAB2ct051728
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Aug 2006 11:11:02 +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 k7GAB2BF051727;
	Wed, 16 Aug 2006 11:11:02 +0100 (BST)
	(envelope-from matthew)
Message-Id: <200608161011.k7GAB2BF051727@happy-idiot-talk.infracaninophile.co.uk>
Date: Wed, 16 Aug 2006 11:11:02 +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/phpldapadmin098 -- respect DESTDIR
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         102136
>Category:       ports
>Synopsis:       [maintainer] net/phpldapadmin098 -- 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:15 GMT 2006
>Closed-Date:    Tue Mar 20 19:14:32 GMT 2007
>Last-Modified:  Tue Mar 20 19:14:32 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:

	

--- phpldapadmin098.diff begins here ---
diff -Nur /usr/ports/net/phpldapadmin098/Makefile phpldapadmin098/Makefile
--- /usr/ports/net/phpldapadmin098/Makefile	Sun May 14 04:55:30 2006
+++ phpldapadmin098/Makefile	Wed Aug 16 10:37:34 2006
@@ -86,7 +86,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 \
@@ -95,7 +95,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 \
--- phpldapadmin098.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:35 UTC 2006 
Responsible-Changed-Why:  
miwi@ wants to have DESTDIR PRs 

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

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