aboutsummaryrefslogtreecommitdiffstats
path: root/x11/menu-cache
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2010-10-03 11:28:20 +0800
committerkmoore <kmoore@FreeBSD.org>2010-10-03 11:28:20 +0800
commitbe2963b7d10b6a69bb1c20423d44e7ed8aa3e55c (patch)
treedf276e6af2e7a2460aeccdd613f59287fc48e81c /x11/menu-cache
parent7100029d9d7cdc892fa6b217619027a1d29820df (diff)
downloadfreebsd-ports-gnome-be2963b7d10b6a69bb1c20423d44e7ed8aa3e55c.tar.gz
freebsd-ports-gnome-be2963b7d10b6a69bb1c20423d44e7ed8aa3e55c.tar.zst
freebsd-ports-gnome-be2963b7d10b6a69bb1c20423d44e7ed8aa3e55c.zip
- Use gnomehack to fix pkgconfig handling.
Submitted by:sunpoet@
Diffstat (limited to 'x11/menu-cache')
-rw-r--r--x11/menu-cache/Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/x11/menu-cache/Makefile b/x11/menu-cache/Makefile
index 653d09f3afb4..ee5f5ffd9093 100644
--- a/x11/menu-cache/Makefile
+++ b/x11/menu-cache/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= SF/lxde/menu-cache/menu-cache%20${PORTVERSION}/
MAINTAINER= kmoore@FreeBSD.org
COMMENT= The menu-cache portion of LXDE
-USE_GNOME= gtk20 pkgconfig
+USE_GNOME= gnomehack gtk20 pkgconfig
USE_AUTOTOOLS= libtool:22
USE_LDCONFIG= yes
USE_GMAKE= yes
@@ -22,14 +22,4 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-.include <bsd.port.pre.mk>
-
-post-configure:
- ${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
- ${WRKSRC}/libmenu-cache/Makefile.in ${WRKSRC}/libmenu-cache/Makefile
- ${REINPLACE_CMD} -e 's|(datadir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
- ${WRKSRC}/libmenu-cache/Makefile.in ${WRKSRC}/libmenu-cache/Makefile
- ${REINPLACE_CMD} -e 's|(prefix)/lib/pkgconfig|(prefix)/libdata/pkgconfig|g' \
- ${WRKSRC}/libmenu-cache/Makefile.in ${WRKSRC}/libmenu-cache/Makefile
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>