Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 2009 19:23:16 GMT
From:      Matt Tosto <datahead4@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139315: [MAINTAINER] audio/liblastfm - fix build with custom PREFIX
Message-ID:  <200910021923.n92JNGb5022670@www.freebsd.org>
Resent-Message-ID: <200910021930.n92JU2nO052732@freefall.freebsd.org>

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

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



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