mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
Improve handling of pkgconfig files
PR: 76686 Submitted by: Jie Gao <gaoj@cpsc.ucalgary.ca>
This commit is contained in:
parent
a42fae48ac
commit
ffe8b04c76
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127419
1 changed files with 1 additions and 2 deletions
|
@ -18,6 +18,7 @@ COMMENT= A fork of mysql++ C++ API for MySQL
|
||||||
USE_MYSQL= yes
|
USE_MYSQL= yes
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
USE_LIBTOOL_VER=15
|
USE_LIBTOOL_VER=15
|
||||||
|
USE_GNOME= pkgconfig gnomehack
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
@ -35,8 +36,6 @@ CONFIGURE_ARGS= --with-mysql=${LOCALBASE}
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${REINPLACE_CMD} -e '/^pkgconfigdir =/s,\$$(libdir),$$(prefix)/libdata,g' \
|
|
||||||
${WRKSRC}/Makefile.in
|
|
||||||
${REINPLACE_CMD} s/libmysqlcppapi-1.9/libmysqlcppapi/g \
|
${REINPLACE_CMD} s/libmysqlcppapi-1.9/libmysqlcppapi/g \
|
||||||
${WRKSRC}/mysqlcppapi/Makefile.in ${WRKSRC}/examples/Makefile.in
|
${WRKSRC}/mysqlcppapi/Makefile.in ${WRKSRC}/examples/Makefile.in
|
||||||
${FIND} ${WRKSRC}/mysqlcppapi -name Makefile.in \
|
${FIND} ${WRKSRC}/mysqlcppapi -name Makefile.in \
|
||||||
|
|
Loading…
Add table
Reference in a new issue