On Tue, Jun 28, 2011 at 12:35:31PM +0200, Matthias Kilian wrote: > Do not hide required libs in the .pc files. > > Fixes the build of hs-cairo. > > ok? Please add a short comment to the patch then it's OK with me. > Index: Makefile > =================================================================== > RCS file: /cvs/ports/graphics/cairo/Makefile,v > retrieving revision 1.34 > diff -u -p -r1.34 Makefile > --- Makefile 2 Jun 2011 17:09:31 -0000 1.34 > +++ Makefile 28 Jun 2011 10:32:59 -0000 > @@ -3,7 +3,7 @@ > COMMENT= vector graphics library > > DISTNAME= cairo-1.10.2 > -REVISION= 0 > +REVISION= 1 > SHARED_LIBS= cairo 11.1 > SHARED_LIBS+= cairo-trace 0.0 > SHARED_LIBS+= cairo-gobject 0.0 > Index: patches/patch-configure > =================================================================== > RCS file: patches/patch-configure > diff -N patches/patch-configure > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-configure 28 Jun 2011 10:32:59 -0000 > @@ -0,0 +1,15 @@ > +$OpenBSD$ > +--- configure.orig Sat Dec 25 15:22:57 2010 > ++++ configure Tue Jun 28 12:27:44 2011 > +@@ -16983,10 +16983,7 @@ if test "x$PKG_CONFIG" = x; then > + as_fn_error $? "pkg-config >= $PKGCONFIG_REQUIRED required but not > found (http://pkgconfig.freedesktop.org/)" "$LINENO" 5 > + fi > + > +-case `$PKG_CONFIG --version` in > +-0.?|0.?.?|0.1[0-7]|0.1[0-7].?) PKGCONFIG_REQUIRES="Requires"; ;; > +-*) PKGCONFIG_REQUIRES="Requires.private"; ;; > +-esac > ++PKGCONFIG_REQUIRES="Requires" > + > + > +
-- Cheers, Jasper "Capable, generous men do not create victims, they nurture them."
