ports/180136: databases/tdb installs to /usr/local rather than PREFIX

Erick Turnquist jhujhiti at adjectivism.org
Sun Jun 30 23:30:01 UTC 2013


>Number:         180136
>Category:       ports
>Synopsis:       databases/tdb installs to /usr/local rather than PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 30 23:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Erick Turnquist
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD pkg-test 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #2: Wed Jun 19 20:34:32 UTC 2013 root at rhea:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
My make.conf contains:

PREFIX=/usr/pkg
LOCALBASE=/usr/pkg

the tdb 'make install' attempts to install to /usr/local
>How-To-Repeat:
Set a non-default PREFIX and make -C /usr/ports/devel/tdb install
>Fix:
Patch to add --prefix to the configure args is attached.

Patch attached with submission follows:

--- /usr/ports/databases/tdb/Makefile.orig      2013-06-30 19:16:22.110793689 -0400
+++ /usr/ports/databases/tdb/Makefile   2013-06-30 19:16:47.279801286 -0400
@@ -50,7 +50,7 @@
 CONFIGURE_ENV+=                NOCOLOR=yes
 MAKE_ENV+=             NOCOLOR=yes
 
-CONFIGURE_ARGS+=       --mandir=${MANPREFIX}/man
+CONFIGURE_ARGS+=       --mandir=${MANPREFIX}/man --prefix=${PREFIX}
 
 .if !defined(DISABLE_MAKE_JOBS) && !defined(MAKE_JOBS_UNSAFE)
 .if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS)


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list