diff options
author | marcus <marcus@FreeBSD.org> | 2005-04-19 05:00:13 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-04-19 05:00:13 +0800 |
commit | 23046c02f95762c13fa71101b0735e8faaa2a3ef (patch) | |
tree | 0293b82f3b7e23240a041a35567319d31bc66876 /x11 | |
parent | 7edebf8b124632ac4259a9c50bf51d5dd1ae5387 (diff) | |
download | freebsd-ports-graphics-23046c02f95762c13fa71101b0735e8faaa2a3ef.tar.gz freebsd-ports-graphics-23046c02f95762c13fa71101b0735e8faaa2a3ef.tar.zst freebsd-ports-graphics-23046c02f95762c13fa71101b0735e8faaa2a3ef.zip |
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 <mvh@ix.netcom.com>
Ralf Folkerts <ralf.folkerts@gmx.de>
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libgnome/Makefile | 3 | ||||
-rw-r--r-- | x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/x11/libgnome/Makefile b/x11/libgnome/Makefile index 64e07c6fa49..8f756754b08 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 00000000000..8d376a4b85f --- /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 |