- Use gnomehack to fix pkgconfig handling.
Submitted by:sunpoet@
This commit is contained in:
parent
2577f2e580
commit
3e5a1b8c1c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262334
1 changed files with 2 additions and 12 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue