Subject: Small problem in audio/libogg audio/libvorbis
To: None <tech-pkg@NetBSD.org>
From: Karsten Kruse <tecneeq@gmx.net>
List: tech-pkg
Date: 09/25/2003 00:28:40
The problem is that mk/bsd.pkg.mk has to be included before
mk/compiler.mk in the Makefile, here is the patch libvorbis:

root@uberhost:/usr/pkgsrc/audio/libvorbis> cvs diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/libvorbis/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile    2003/09/12 17:55:53     1.24
+++ Makefile    2003/09/24 22:22:07
@@ -17,5 +17,5 @@
 PLIST_SUBST+=          DISTNAME=${DISTNAME}

 .include "../../audio/libogg/buildlink2.mk"
-.include "../../mk/compiler.mk"
 .include "../../mk/bsd.pkg.mk"
+.include "../../mk/compiler.mk"

And here for libogg:

root@uberhost:/usr/pkgsrc/audio/libogg> cvs diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/libogg/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile    2003/09/12 17:55:51     1.17
+++ Makefile    2003/09/24 22:24:33
@@ -16,5 +16,5 @@

 PLIST_SUBST+=          DISTNAME=${DISTNAME}

-.include "../../mk/compiler.mk"
 .include "../../mk/bsd.pkg.mk"
+.include "../../mk/compiler.mk"

Karsten Kruse

-- 
        Homepage, Mac68k, A/UX-Links und Shorties: www.tecneeq.de
  ()    Linux/NetBSD-Anleitungen, Forum  und Chat: www.newbie-net.de
 <\/>
 _/\_   When you are in it up to your ears, keep your mouth shut.