Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  9 Jan 2006 00:10:32 +0100 (CET)
From:      Soeren Straarup <xride@x12.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/91535: [PATCH] x11-toolkits/qwt: [installs wrong lib version]
Message-ID:  <20060108231032.86065416E@beacon.x12.dk>
Resent-Message-ID: <200601082320.k08NK47f021756@freefall.freebsd.org>

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

>Number:         91535
>Category:       ports
>Synopsis:       [PATCH] x11-toolkits/qwt: [installs wrong lib version]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 08 23:20:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Soeren Straarup
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD beacon.x12.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Dec 27 19:37:10 CET 2005
>Description:

Installs libqwt.so.4.2.0 instead of ..so.4 and link it to .so

>How-To-Repeat:
>Fix:

--- qwt-4.2.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/qwt/Makefile /space/portstrees/FreeBSD/ports/x11-toolkits/qwt/Makefile
--- /usr/ports/x11-toolkits/qwt/Makefile	Tue May 10 13:30:03 2005
+++ /space/portstrees/FreeBSD/ports/x11-toolkits/qwt/Makefile	Sun Jan  8 21:57:06 2006
@@ -97,9 +97,8 @@
 	cd ${WRKSRC}; qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ qwt.pro -o Makefile
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/lib/libqwt.so.${PORTVERSION} ${PREFIX}/lib
-	${LN} -fs libqwt.so.${PORTVERSION} ${PREFIX}/lib/libqwt.so
-	${LN} -fs libqwt.so.${PORTVERSION} ${PREFIX}/lib/libqwt.so.${PORTVERSION:R:R:R}
+	${INSTALL_DATA} ${WRKSRC}/lib/libqwt.so.${PORTVERSION} ${PREFIX}/lib/libqwt.so.${PORTVERSION:R:R}
+	${LN} -fs libqwt.so.${PORTVERSION:R:R} ${PREFIX}/lib/libqwt.so
 	${MKDIR} ${PREFIX}/include/qwt
 	${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qwt
 	${INSTALL_MAN} ${WRKSRC}/doc/man/man3/Qwt* ${PREFIX}/man/man3
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/qwt/pkg-plist /space/portstrees/FreeBSD/ports/x11-toolkits/qwt/pkg-plist
--- /usr/ports/x11-toolkits/qwt/pkg-plist	Tue May 10 13:30:03 2005
+++ /space/portstrees/FreeBSD/ports/x11-toolkits/qwt/pkg-plist	Sun Jan  8 21:57:18 2006
@@ -50,5 +50,4 @@
 include/qwt/qwt_wheel.h
 lib/libqwt.so
 lib/libqwt.so.4
-lib/libqwt.so.4.2.0
 @dirrm include/qwt
--- qwt-4.2.0_1.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?20060108231032.86065416E>