aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-02-09 00:13:47 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-02-09 00:13:47 +0000
commit65564d711ffc54476249a9cf5cff84e8a678d127 (patch)
treef8036651e9633004ab93d9638fef4120a87afdc7 /databases
parent62353879605ab45516776628703a791c48333f44 (diff)
downloadports-65564d711ffc54476249a9cf5cff84e8a678d127.tar.gz
ports-65564d711ffc54476249a9cf5cff84e8a678d127.zip
Install pkgconfig data into the correct location.
Notes
Notes: svn path=/head/; revision=184651
Diffstat (limited to 'databases')
-rw-r--r--databases/qt4-sql/Makefile3
-rw-r--r--databases/qt4-sql/pkg-plist2
2 files changed, 3 insertions, 2 deletions
diff --git a/databases/qt4-sql/Makefile b/databases/qt4-sql/Makefile
index 285aebf752c5..16c3f8dee15e 100644
--- a/databases/qt4-sql/Makefile
+++ b/databases/qt4-sql/Makefile
@@ -8,6 +8,7 @@
PORTNAME= sql
PORTVERSION= 4.2.2
+PORTREVISION= 1
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -73,7 +74,7 @@ pre-configure:
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../bin/qmake
${LN} -sf ${LOCALBASE}/bin/moc4 ${WRKSRC}/../../bin/moc
post-configure:
- ${REINPLACE_CMD} -e 's|local/lib/QtSql.pc|local/libdata/QtSql.pc|g' \
+ ${REINPLACE_CMD} -e 's|${PREFIX}/lib/QtSql.pc|${PREFIX}/libdata/pkgconfig/QtSql.pc|g' \
-e 's|(test -z.*||g' \
${WRKSRC}/Makefile
diff --git a/databases/qt4-sql/pkg-plist b/databases/qt4-sql/pkg-plist
index 0dbf639fbad6..c8c1797ef943 100644
--- a/databases/qt4-sql/pkg-plist
+++ b/databases/qt4-sql/pkg-plist
@@ -75,5 +75,5 @@ lib/libQtSql.so
lib/libQtSql.so.4
lib/libQtSql.so.4.2
lib/libQtSql.so.4.2.2
-libdata/QtSql.pc
+libdata/pkgconfig/QtSql.pc
@dirrm include/QtSql