From be2963b7d10b6a69bb1c20423d44e7ed8aa3e55c Mon Sep 17 00:00:00 2001 From: kmoore Date: Sun, 3 Oct 2010 03:28:20 +0000 Subject: - Use gnomehack to fix pkgconfig handling. Submitted by:sunpoet@ --- x11/menu-cache/Makefile | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'x11/menu-cache') 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 - -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 +.include -- cgit