ports/187735: [patch] archivers/quazip: fails to build if previous is already installed

Lawrence The Dreamer Chen beastie at tardisi.com
Wed Mar 19 14:30:00 UTC 2014


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


More information about the freebsd-ports-bugs mailing list