Improve handling of pkgconfig files

PR:		76686
Submitted by:	Jie Gao <gaoj@cpsc.ucalgary.ca>
This commit is contained in:
Tilman Keskinoz 2005-01-26 14:00:12 +00:00
parent a42fae48ac
commit ffe8b04c76
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127419

View file

@ -18,6 +18,7 @@ COMMENT= A fork of mysql++ C++ API for MySQL
USE_MYSQL= yes
USE_REINPLACE= yes
USE_LIBTOOL_VER=15
USE_GNOME= pkgconfig gnomehack
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
@ -35,8 +36,6 @@ CONFIGURE_ARGS= --with-mysql=${LOCALBASE}
INSTALLS_SHLIB= yes
post-patch:
${REINPLACE_CMD} -e '/^pkgconfigdir =/s,\$$(libdir),$$(prefix)/libdata,g' \
${WRKSRC}/Makefile.in
${REINPLACE_CMD} s/libmysqlcppapi-1.9/libmysqlcppapi/g \
${WRKSRC}/mysqlcppapi/Makefile.in ${WRKSRC}/examples/Makefile.in
${FIND} ${WRKSRC}/mysqlcppapi -name Makefile.in \