aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-04-18 21:00:13 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-04-18 21:00:13 +0000
commit1e5f0409e61a65435fa68f0f77aa4b42ee2a38d9 (patch)
treed002cff88bfbac931a2d9592e74c5ad26ec429f4 /x11
parentbbf1ff8c99effbfeef4bd8aebd84bb0ca123a8ca (diff)
downloadports-1e5f0409e61a65435fa68f0f77aa4b42ee2a38d9.tar.gz
ports-1e5f0409e61a65435fa68f0f77aa4b42ee2a38d9.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/libgnome/Makefile3
-rw-r--r--x11/libgnome/files/patch-libgnome_libgnome-2.0.pc.in9
2 files changed, 12 insertions, 0 deletions
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