Subject: Re: Faking installation of a package
To: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/29/2005 06:51:29
On Fri, 29 Apr 2005, Torsten Harenberg wrote:

> I try to follow PR pkg/25402, which I also see on SuSE 8.1.
>
> Jeremy C. Reed had a workaround and with some modified setting I was
> able to build the package manually, as described in that PR.

I just committed a workaround (or a fix?) for this arts.

--- audio/arts/Makefile 12 Apr 2005 15:11:18 -0000      1.39
+++ audio/arts/Makefile 29 Apr 2005 13:47:13 -0000
@@ -17,6 +17,12 @@
 _IN_ARTS_BUILD=                yes
 .include "../../meta-pkgs/kde3/kde3.mk"

+.if ${OPSYS} == "Linux"
+# workaround bug noted in PR #25402
+BUILDLINK_TRANSFORM+=  rm:-Wl,--allow-shlib-undefined
+BUILDLINK_TRANSFORM+=  rm:-Wl,--no-undefined
+.endif
+
 .include "../../audio/esound/buildlink3.mk"
 .include "../../audio/libaudiofile/buildlink3.mk"
 .include "../../audio/libmad/buildlink3.mk"

> But what I need to do now is to tell pkgsrc that this package is now
> installed. "(b)make install" in the package's directory will try to build
> again.
>
> Any ideas?

Anyways to answer your question (but not needed anymore), you need to
touch the various cookie files in work/ like .build_done, .configure_done,
etc.

Try updating your pkgsrc and trying again though.

I didn't commit workaround for same problem in KDE yet though.

 Jeremy C. Reed

 	  	 	 technical support & remote administration
	  	 	 http://www.pugetsoundtechnology.com/