aboutsummaryrefslogtreecommitdiff
path: root/chinese/qt4-codecs-cn
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-08-02 22:37:40 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-08-02 22:37:40 +0000
commite332496be5f6fa4fa10c72920241b6910a69ca00 (patch)
tree7c1e4ee6690abd492b16853205c1bf65c308e4fb /chinese/qt4-codecs-cn
parenta89bbaf869b99b813eb1a147e18884857d7e5495 (diff)
downloadports-e332496be5f6fa4fa10c72920241b6910a69ca00.tar.gz
ports-e332496be5f6fa4fa10c72920241b6910a69ca00.zip
- bsd.qt.mk:
QT_COMPONENTS can now be depended on at runtime or buildtime only by specifiying them as <component>_build or <component>_run, respectively. Specifying <component> without any suffix will depend on the component at both build- and runtime just like before. - Convert Qt core ports to use the new dependency switches. - Add a patch to corelib to fix Qt4 on ARM, submitted by: Björn König <bkoenig@alpha-tierchen.de>
Notes
Notes: svn path=/head/; revision=196993
Diffstat (limited to 'chinese/qt4-codecs-cn')
-rw-r--r--chinese/qt4-codecs-cn/Makefile6
-rw-r--r--chinese/qt4-codecs-cn/pkg-plist2
2 files changed, 3 insertions, 5 deletions
diff --git a/chinese/qt4-codecs-cn/Makefile b/chinese/qt4-codecs-cn/Makefile
index ed065ad49db9..81457b0803a3 100644
--- a/chinese/qt4-codecs-cn/Makefile
+++ b/chinese/qt4-codecs-cn/Makefile
@@ -19,7 +19,7 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= Qt GB 18030 codec plugin
USE_QT_VER= 4
-QT_COMPONENTS= qmake corelib
+QT_COMPONENTS= qmake_build corelib
QT_NONSTANDARD= yes
QT_DIST= yes
@@ -43,8 +43,6 @@ EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
WRKSRC= ${WRKDIR}/${DISTNAME}/src/plugins/${PORTNAME}/cn
CONFIGURE_WRKSRC=${WRKSRC}/../../../..
-.include <bsd.port.pre.mk>
-
pre-configure:
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
${REINPLACE_CMD} -e 's|target.path.*|target.path=${PREFIX}/lib/plugins/codecs|g' \
@@ -56,4 +54,4 @@ pre-configure:
post-configure:
${REINPLACE_CMD} -e 's|(test -z.*||g' ${WRKSRC}/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/chinese/qt4-codecs-cn/pkg-plist b/chinese/qt4-codecs-cn/pkg-plist
index 9c3a72187d21..c1469343d723 100644
--- a/chinese/qt4-codecs-cn/pkg-plist
+++ b/chinese/qt4-codecs-cn/pkg-plist
@@ -1,3 +1,3 @@
lib/plugins/codecs/libqcncodecs.so
-lib/plugins/codecs/libqcncodecs.so.debug
+%%DEBUG%%lib/plugins/codecs/libqcncodecs.so.debug
@dirrm lib/plugins/codecs