Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2014 09:20:01 -0500 (CDT)
From:      Lawrence "The Dreamer" Chen <beastie@tardisi.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187735: [patch] archivers/quazip: fails to build if previous is already installed
Message-ID:  <201403191420.s2JEK1Uc046896@zen.lhaven.homeip.net>
Resent-Message-ID: <201403191430.s2JEU0rm024929@freefall.freebsd.org>

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

>Number:         187735
>Category:       ports
>Synopsis:       [patch] archivers/quazip: fails to build if previous is already installed
>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 Mar 19 14:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Lawrence "The Dreamer" Chen
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD zen.lhaven.homeip.net 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
	Fails to build in qztest when trying to upgrade port using portmaster
>How-To-Repeat:
	
>Fix:

	

	In the link for qztest, it is picking up the installed libquazip.so
	instead of the new one.

	Modified the Makefile to force it use the built libquazip.so

--- patch begins here ---
--- Makefile.orig	2014-03-17 10:54:22.000000000 -0500
+++ Makefile	2014-03-19 09:15:31.934872830 -0500
@@ -15,4 +15,8 @@
 USE_LDCONFIG=	yes
 USE_QT4=	corelib moc_build qtestlib
 
+post-configure:
+	@${REINPLACE_CMD} -e "s,-L${WRKSRC}/qztest/../quazip/ -lquazip,${WRKSRC}/quazip/libquazip.so," \
+		${WRKSRC}/qztest/Makefile
+
 .include <bsd.port.mk>
--- patch ends here ---


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



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