ports/122637: [MAINTAINER] sysutils/qpxtool: fix linking when older qpxtool is installed

Dmitry Marakasov amdmi3 at amdmi3.ru
Thu Apr 10 21:30:02 UTC 2008


>Number:         122637
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/qpxtool: fix linking when older qpxtool is installed
>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:   Thu Apr 10 21:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE FreeBSD 7.0-RELEASE #5: Fri Mar 14 14:26:43 MSK 2008 root at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
- Add MANCOMPRESSED=no
- Fix library path order so [older] qpxtool libraries under /usr/local/lib don't get erroneously linked during port updating

Reported by: Bruce M Simpson <bms at incunabulum dot net>
>How-To-Repeat:
>Fix:

--- qpxtool.patch begins here ---
diff -ruN qpxtool.orig/Makefile qpxtool/Makefile
--- qpxtool.orig/Makefile	2008-04-10 21:13:05.000000000 +0400
+++ qpxtool/Makefile	2008-04-10 21:30:55.000000000 +0400
@@ -7,6 +7,7 @@
 
 PORTNAME=	qpxtool
 PORTVERSION=	0.6.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 
@@ -24,6 +25,7 @@
 		QTDIR="${QT_PREFIX}"
 
 USE_LDCONFIG=	yes
+MANCOMPRESSED=	no
 MAN8=		pxcontrol.8 pxfw.8
 
 post-patch:
diff -ruN qpxtool.orig/files/patch-qpxtool-gui-Makefile qpxtool/files/patch-qpxtool-gui-Makefile
--- qpxtool.orig/files/patch-qpxtool-gui-Makefile	1970-01-01 03:00:00.000000000 +0300
+++ qpxtool/files/patch-qpxtool-gui-Makefile	2008-04-10 22:45:52.000000000 +0400
@@ -0,0 +1,11 @@
+--- qpxtool-gui/Makefile.orig	2007-08-19 18:04:14.000000000 +0400
++++ qpxtool-gui/Makefile	2008-04-10 22:06:05.000000000 +0400
+@@ -15,7 +15,7 @@
+ 	CONFIG+="thread" \
+ 	INCLUDEPATH+="../lib/include" \
+ 	LIBS+="-lqpxtransport -lqpxplextor -lqpxpioneer -lqpxscan" \
+-	LIBPATH+="../lib/lib"
++	LIBPATH="../lib/lib \$${LIBPATH}"
+ 
+ install: Makefile.qmake
+ 	install -m 4755 qpxtool $(DESTDIR)$(BINDIR)
--- qpxtool.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list