Subject: Patch for pkgconfig Makefile on darwin.
To: None <tech-pkg@netbsd.org>
From: Ted Lemon <mellon@fugue.com>
List: tech-pkg
Date: 05/25/2003 16:56:42
I'm reluctant to just commit this without talking to someone first, but 
pkgconfig on Darwin requires dlcompat.   The patch is below.   Just say 
the word and I'll commit it, or please let me know if I did it wrong.   
:'}

*** Makefile    2003/02/14 21:14:37     1.10
--- Makefile    2003/05/25 21:54:10
***************
*** 11,16 ****
--- 11,23 ----

   USE_BUILDLINK2=               YES
   GNU_CONFIGURE=                YES
+
+ .include "../../mk/bsd.prefs.mk"
+
+ .if !empty(MACHINE_PLATFORM:MDarwin-*-*)
+ .  include "../../devel/dlcompat/buildlink2.mk"
+ .endif
+
   USE_LIBTOOL=          YES
   LIBTOOL_OVERRIDE=     ${WRKSRC}/libtool ${WRKSRC}/glib-1.2.8/libtool
   CONFIGURE_ARGS+=      --disable-threads