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>
This commit is contained in:
parent
bbf1ff8c99
commit
1e5f0409e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133615
@ -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
|
||||
|
9
x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in
Normal file
9
x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user