Try harder to prevent pkgconfig data from ending up in the wrong place.

Only seems to happen on pointyhat, bump PORTREVISION anyway just to be
sure.
This commit is contained in:
Michael Nottebrock 2007-05-25 11:34:09 +00:00
parent 7f1e8ebb3f
commit 08c4d6057c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191766
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@
PORTNAME= dbus
PORTVERSION= 4.2.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES?= devel
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMESUFFIX= -qt4
@ -70,7 +70,7 @@ pre-configure:
post-configure:
${REINPLACE_CMD} -e 's|${PREFIX}/lib/QtDBus.pc|${PREFIX}/libdata/pkgconfig/QtDBus.pc|g' \
${WRKSRC}/src/Makefile
-e 's|.*$$(QMAKE).*||g' ${WRKSRC}/src/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' \
-E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \

View file

@ -8,7 +8,7 @@
PORTNAME= network
PORTVERSION= 4.2.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES?= net ipv6
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@ -68,7 +68,7 @@ pre-configure:
post-configure:
${REINPLACE_CMD} -e 's|${PREFIX}/lib/QtNetwork.pc|${PREFIX}/libdata/pkgconfig/QtNetwork.pc|g' \
${WRKSRC}/Makefile
-e 's|.*$$(QMAKE).*||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' \
-E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \