1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Make sure qmake doesn't regenerate Makefile with wrong pkgconfig locations.

This commit is contained in:
Michael Nottebrock 2007-05-28 15:40:01 +00:00
parent 206630194e
commit 2861ce1348
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192190

View File

@ -8,7 +8,7 @@
PORTNAME= sql
PORTVERSION= 4.2.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@ -75,7 +75,7 @@ pre-configure:
${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../bin/moc
post-configure:
${REINPLACE_CMD} -e 's|${PREFIX}/lib/QtSql.pc|${PREFIX}/libdata/pkgconfig/QtSql.pc|g' \
-e 's|(test -z.*||g' \
-e 's|.*$$(QMAKE).*||g' -e 's|(test -z.*||g' \
${WRKSRC}/Makefile
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
-E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \