Subject: audio/cdparanoia under solaris - buildlink3.mk fix
To: None <tech-pkg@NetBSD.org>
From: Tony D'Amato <tdamato@odu.edu>
List: tech-pkg
Date: 06/04/2004 10:36:14
While building 2004Q1 under Solaris, I came across the '.libs-L' problem
(under the subject 'trouble with gtk2 on Solaris' back on tech-pkg on
2004/03/22). I used Manuel Bouyer's patch posted 3/22/2004 with great
success... Thanks y'all!

Now, while building metapkgs/gnome, I ran into trouble with
sysutils/gnome-vfs2 - it seems that it's buildlink3 required
audio/cdparanoia, even tho cdparanoia won't build under Solaris. To fix
this for sysutils/gnome-vfs2 and others that depend upon cdparanoia, I
added this fix:

*** audio/cdparanoia/buildlink3.mk.ORIG 2004-03-05 14:25:06.000001000 -0500
--- audio/cdparanoia/buildlink3.mk      2004-06-03 12:50:43.000002000 -0400
***************
*** 1,5 ****
--- 1,8 ----
  # $NetBSD: buildlink3.mk,v 1.2 2004/03/05 19:25:06 jlam Exp $
   
+ .include "../../mk/bsd.prefs.mk"
+
+ .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "Linux"
  BUILDLINK_DEPTH:=             ${BUILDLINK_DEPTH}+
  CDPARANOIA_BUILDLINK3_MK:=    ${CDPARANOIA_BUILDLINK3_MK}+
   
***************
*** 16,18 ****
--- 19,22 ----
  .endif        # CDPARANOIA_BUILDLINK3_MK
   
  BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
+ .endif

I hope it helps someone... Thanks again for such a great system!
-- 
Tony.

He that would make his own liberty secure must guard even his enemy 
from oppression; for if he violates this duty he establishes a precedent
that will reach to himself. --Thomas Paine