From 23046c02f95762c13fa71101b0735e8faaa2a3ef Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 18 Apr 2005 21:00:13 +0000 Subject: Since libgnome links to libpopt, include ${LOCALBASE}/lib in the link search path. This fixes applications that only need to link to libgnome-2.0. Reported by: Mike Harding Ralf Folkerts --- x11/libgnome/Makefile | 3 +++ x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in (limited to 'x11/libgnome') diff --git a/x11/libgnome/Makefile b/x11/libgnome/Makefile index 64e07c6fa498..8f756754b087 100644 --- a/x11/libgnome/Makefile +++ b/x11/libgnome/Makefile @@ -7,6 +7,7 @@ PORTNAME= libgnome PORTVERSION= 2.10.0 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.10 @@ -50,6 +51,8 @@ GCONF_SCHEMAS= desktop_gnome_accessibility_keyboard.schemas \ post-patch: @${SED} -e 's|%%X11BASE%%|${X11BASE}|g' \ < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL} + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ + ${WRKSRC}/libgnome/libgnome-2.0.pc.in .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's|gnome-data po doc|gnome-data po|g' \ ${WRKSRC}/Makefile.in diff --git a/x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in b/x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in new file mode 100644 index 000000000000..8d376a4b85fe --- /dev/null +++ b/x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in @@ -0,0 +1,9 @@ +--- libgnome/libgnome-2.0.pc.in.orig Mon Apr 18 16:54:21 2005 ++++ libgnome/libgnome-2.0.pc.in Mon Apr 18 16:54:41 2005 +@@ -8,5 +8,5 @@ + Description: libgnome + Requires: glib-2.0 ORBit-2.0 libbonobo-2.0 gconf-2.0 gnome-vfs-2.0 + Version: @VERSION@ +-Libs: -L${libdir} -lgnome-2 -lpopt ++Libs: -L${libdir} -L%%LOCALBASE%%/lib -lgnome-2 -lpopt + Cflags: -I${includedir}/libgnome-2.0 -- cgit