ports/139315: [MAINTAINER] audio/liblastfm - fix build with custom PREFIX

Matt Tosto datahead4 at gmail.com
Fri Oct 2 19:30:03 UTC 2009


>Number:         139315
>Category:       ports
>Synopsis:       [MAINTAINER] audio/liblastfm - fix build with custom PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 02 19:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Matt Tosto
>Release:        
>Organization:
>Environment:
>Description:
Build failed when custom PREFIX was set due to an incorrect formatting of the CONFIGURE_ARGS in the port Makefile.  Small attached patch corrects this issue.  I'm not entirely sure if ${PREFIX} or ${LOCALBASE} is the proper substitution to use in the Makefile.  Confirmation of this would be appreciated.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -U3 -r ../liblastfm/Makefile /usr/ports/audio/liblastfm/Makefile
--- ../liblastfm/Makefile	2009-10-01 10:44:58.000000000 -0500
+++ /usr/ports/audio/liblastfm/Makefile	2009-09-08 08:45:41.000000000 -0500
@@ -23,7 +23,7 @@
 QT_COMPONENTS=	corelib xml network sql gui qtestlib \
 		qmake_build moc_build rcc_build uic_build
 HAS_CONFIGURE=	yes
-CONFIGURE_ARGS+=	--prefix ${LOCALBASE} --release
+CONFIGURE_ARGS+=	-release
 MAKE_JOBS_UNSAFE=	yes
 
 USE_LDCONFIG=	yes


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



More information about the freebsd-ports-bugs mailing list