aboutsummaryrefslogtreecommitdiffstats
path: root/databases/qt4-sql
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-02-09 08:13:47 +0800
committerlofi <lofi@FreeBSD.org>2007-02-09 08:13:47 +0800
commitf628f3ac249bf1bf8c5eac7a6cf626539050eb45 (patch)
tree97b908022454f21817f2729763beb8265b708346 /databases/qt4-sql
parent12ad7b39ad151be70993d95ddeccc4fd2e4d3e0f (diff)
downloadfreebsd-ports-gnome-f628f3ac249bf1bf8c5eac7a6cf626539050eb45.tar.gz
freebsd-ports-gnome-f628f3ac249bf1bf8c5eac7a6cf626539050eb45.tar.zst
freebsd-ports-gnome-f628f3ac249bf1bf8c5eac7a6cf626539050eb45.zip
Install pkgconfig data into the correct location.
Diffstat (limited to 'databases/qt4-sql')
-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