ports/88489: honour use of PREFIX

Hugo Meiland hugo at meiland.nl
Fri Nov 4 13:50:22 UTC 2005


>Number:         88489
>Category:       ports
>Synopsis:       honour use of PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 04 13:50:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Hugo Meiland
>Release:        5.4-release
>Organization:
>Environment:
>Description:
This port does not respect non-standard LOCALBASE/X11BASE settings, reported by Kris Kennaway
>How-To-Repeat:
# make clean; make package PREFIX=/var/tmp/port-name
           
>Fix:
./bind9-sdb-ldap.orig/files/patch-sdb_ldap ./files/patch-sdb_ldap
--- ../bind9-sdb-ldap.orig/files/patch-sdb_ldap	Fri Nov  4 14:28:07 2005
+++ ./files/patch-sdb_ldap	Fri Nov  4 14:30:07 2005
@@ -11,8 +11,8 @@
 -DBDRIVER_LIBS =
 +DBDRIVER_OBJS = ldapdb. at O@
 +DBDRIVER_SRCS = ldapdb.c
-+DBDRIVER_INCLUDES = -I/usr/local/include DBDRIVER_LIBS = 
-+-L/usr/local/lib -lldap -llber
++DBDRIVER_INCLUDES = -I${PREFIX}/include DBDRIVER_LIBS = 
++-L${PREFIX}/lib -lldap -llber
  
  CINCLUDES =	-I${srcdir}/include -I${srcdir}/unix/include \
  		${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
             
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list