Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2005 13:46:48 GMT
From:      Hugo Meiland <hugo@meiland.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/88489: honour use of PREFIX
Message-ID:  <200511041346.jA4DkmKa016576@www.freebsd.org>
Resent-Message-ID: <200511041350.jA4DoLeE044637@freefall.freebsd.org>

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

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



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