- Use gnomehack to fix pkgconfig files properly

This commit is contained in:
Kris Moore 2010-10-08 15:01:08 +00:00
parent 3ce4579de1
commit 1e188fbcb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262622

View file

@ -16,7 +16,7 @@ COMMENT= The libFM backend library to PCManFM.
LIB_DEPENDS= startup-notification-1:${PORTSDIR}/x11/startup-notification \
menu-cache.1:${PORTSDIR}/x11/menu-cache
USE_GNOME= gtk20 pkgconfig
USE_GNOME= gnomehack gtk20 pkgconfig
USE_AUTOTOOLS= libtool:22
USE_GMAKE= yes
USE_FAM= yes
@ -37,14 +37,6 @@ PLIST_SUB+= NLS="@comment "
.include <bsd.port.pre.mk>
post-configure:
${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's|(datadir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's|(prefix)/lib/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
pre-install:
cd ${WRKDIR}/libfm-${PORTVERSION} && ${CHMOD} 755 install-sh