Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2006 11:11:02 +0100 (BST)
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102136: [maintainer] net/phpldapadmin098 -- respect DESTDIR
Message-ID:  <200608161011.k7GAB2BF051727@happy-idiot-talk.infracaninophile.co.uk>
Resent-Message-ID: <200608161020.k7GAKFcG049402@freefall.freebsd.org>

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

>Number:         102136
>Category:       ports
>Synopsis:       [maintainer] net/phpldapadmin098 -- respect DESTDIR
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 16 10:20:15 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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