Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2005 12:34:47 +0300
From:      Vasil Dimov <vd@datamax.bg>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/80394: net/stund does not honour PREFIX
Message-ID:  <20050427093447.GA46186@sinanica.bg.datamax>
Resent-Message-ID: <200504270940.j3R9eL8r073824@freefall.freebsd.org>

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

>Number:         80394
>Category:       ports
>Synopsis:       net/stund does not honour 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:   Wed Apr 27 09:40:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
DataMax
>Environment:

System: FreeBSD sinanica.bg.datamax 5.4-STABLE FreeBSD 5.4-STABLE #5: Mon Apr 11 14:07:32 EEST 2005     root@sinanica.bg.datamax:/usr/obj/usr/src/sys/SINANICA-SMP  i386

>Description:

Port net/stund does not honour PREFIX and always installs in
LOCALBASE (/usr/local)

>How-To-Repeat:

cd /usr/ports/net/stund

make PREFIX=/usr/nonstandard/jail/foo install clean
(notice where files get installed)

pkg_delete /var/db/pkg/stund-0.94_1
(error: file(s) "doesn't really exist")

>Fix:

--- Makefile.orig	Wed Apr 27 12:20:02 2005
+++ Makefile	Wed Apr 27 12:20:23 2005
@@ -22,7 +22,7 @@
 USE_GMAKE=	yes
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/server ${LOCALBASE}/sbin/stund
-	${INSTALL_PROGRAM} ${WRKSRC}/client ${LOCALBASE}/bin/stun_client
+	${INSTALL_PROGRAM} ${WRKSRC}/server ${PREFIX}/sbin/stund
+	${INSTALL_PROGRAM} ${WRKSRC}/client ${PREFIX}/bin/stun_client
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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