Subject: pkg/22281: buildlink qt1 with xamp
To: None <gnats-bugs@gnats.netbsd.org>
From: None <heas@shrubbery.net>
List: netbsd-bugs
Date: 07/26/2003 19:19:14
>Number:         22281
>Category:       pkg
>Synopsis:       buildlink qt1 with xamp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 26 19:20:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     john heasley
>Release:        NetBSD 1.6U
>Organization:
	
>Environment:
	
	
System: NetBSD roome 1.6U NetBSD 1.6U (roome) #0: Fri Jul 25 06:36:36 UTC 2003  root@roome:/home/src/sys/arch/i386/compile/roome i386
Architecture: i386
Machine: i386
>Description:
	xamp should be buildlink'd with qt1 so that it can locate run-time
	libs.

===> Building for xamp-0.8.10
cd pixmaps ; make
../qembed pixmaps.h pixmaps.c *.bmp
Shared object "libqt.so.1" not found
*** Error code 1
>How-To-Repeat:
	try to build xamp

>Fix:
	
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/xamp/Makefile,v
retrieving revision 1.12
diff -d -u -r1.12 Makefile
--- Makefile	2002/08/16 03:12:12	1.12
+++ Makefile	2003/07/26 19:10:05
@@ -16,6 +16,7 @@
 COMMENT=	Version of amp (stands for `Audio Mpeg Player') plus a Qt GUI
 
 DEPENDS+=	qt1-1.44:../../x11/qt1
+USE_BUILDLINK2=	YES
 
 DIST_SUBDIR=	xamp
 GNU_CONFIGURE=	yes
@@ -49,4 +50,5 @@
 	@${INSTALL_DATA_DIR} ${SKIN_DIR}/mmxxamp-xamp
 	${INSTALL_DATA} ${WRKDIR}/mmxxamp-xamp/*.bmp ${SKIN_DIR}/mmxxamp-xamp
 
+.include "../../x11/qt1/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: