Subject: Re: pkgsrc Linux 2.4.20/i386 bulk build results 2005-04-16
To: Min Sik Kim <minskim@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bulk
Date: 04/16/2005 20:36:10
On Sat, 16 Apr 2005, Min Sik Kim wrote:

> audio/arts                 160     markd@NetBSD.org

This is what I use. (Ignore the arts.)

cvs diff: Diffing audio/arts
Index: audio/arts/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/arts/Makefile,v
retrieving revision 1.39
diff -b -u -r1.39 Makefile
--- audio/arts/Makefile	12 Apr 2005 15:11:18 -0000	1.39
+++ audio/arts/Makefile	17 Apr 2005 03:28:03 -0000
@@ -17,6 +17,14 @@
 _IN_ARTS_BUILD=		yes
 .include "../../meta-pkgs/kde3/kde3.mk"

+BUILDLINK_TRANSFORM+=	rm:-Wl,--allow-shlib-undefined
+BUILDLINK_TRANSFORM+=	rm:-Wl,--no-undefined
+#-Wl,--no-undefined -Wl,--allow-shlib-undefined
+
+.if ${OPSYS} == "Linux"
+.include "../../wip/alsa-lib/buildlink3.mk"
+.endif
+
 .include "../../audio/esound/buildlink3.mk"
 .include "../../audio/libaudiofile/buildlink3.mk"
 .include "../../audio/libmad/buildlink3.mk"
Index: audio/arts/buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/audio/arts/buildlink3.mk,v
retrieving revision 1.11
diff -b -u -r1.11 buildlink3.mk
--- audio/arts/buildlink3.mk	10 Dec 2004 06:00:52 -0000	1.11
+++ audio/arts/buildlink3.mk	17 Apr 2005 03:28:03 -0000
@@ -19,6 +19,9 @@
 				{ print "@comment in arts: " $$0; next; }
 .endif	# ARTS_BUILDLINK3_MK

+.if ${OPSYS} == "Linux"
+.include "../../wip/alsa-lib/buildlink3.mk"
+.endif
 .include "../../audio/esound/buildlink3.mk"
 .include "../../audio/libaudiofile/buildlink3.mk"
 .include "../../audio/libmad/buildlink3.mk"
cvs diff: Diffing audio/arts/patches


I use
+BUILDLINK_TRANSFORM+=  rm:-Wl,--allow-shlib-undefined
+BUILDLINK_TRANSFORM+=  rm:-Wl,--no-undefined
to build qt3 and kde packages.

There is a PR about this.

I don't know if that is the correct fix. If someone okays, I will commit
for Linux only.


 Jeremy C. Reed

 	  	 	 open source, Unix, *BSD, Linux training
	  	 	 http://www.pugetsoundtechnology.com/