Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2013 20:20:21 GMT
From:      Erick Turnquist <jhujhiti@adjectivism.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/180103: tevent attempts to install to /usr/local rather than PREFIX
Message-ID:  <201306292020.r5TKKLOO022191@oldred.freebsd.org>
Resent-Message-ID: <201306292030.r5TKU1PD029282@freefall.freebsd.org>

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

>Number:         180103
>Category:       ports
>Synopsis:       tevent attempts to install 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:   Sat Jun 29 20:30:01 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@rhea:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
My make.conf contains:

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

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

Patch attached with submission follows:

--- /usr/ports/devel/tevent/Makefile.orig       2013-06-29 16:03:41.812964389 -0400
+++ /usr/ports/devel/tevent/Makefile    2013-06-29 16:04:07.598789009 -0400
@@ -44,7 +44,7 @@
 CONFIGURE_ENV+=                NOCOLOR=yes
 MAKE_ENV+=             NOCOLOR=yes
 
-CONFIGURE_ARGS+=       --mandir=${MANPREFIX}/man
+CONFIGURE_ARGS+=       --mandir=${MANPREFIX}/man --prefix=${PREFIX}
 
 BUILD_DEPENDS+=                talloc>=2.0.8:${PORTSDIR}/devel/talloc
 RUN_DEPENDS:=          ${BUILD_DEPENDS}


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



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