diff options
author | miwi <miwi@FreeBSD.org> | 2007-09-07 05:50:28 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-09-07 05:50:28 +0800 |
commit | 2d2fb1cf4d9b86a36c2fe95c217a7d6b58c8282f (patch) | |
tree | 9f0a8e4d4a0ccd5322d3ba85bec29aa0c6889ead /x11-toolkits/qwt6/Makefile | |
parent | 2f30ac74a63eb5515fdabfb4cf463724af035b24 (diff) | |
download | freebsd-ports-gnome-2d2fb1cf4d9b86a36c2fe95c217a7d6b58c8282f.tar.gz freebsd-ports-gnome-2d2fb1cf4d9b86a36c2fe95c217a7d6b58c8282f.tar.zst freebsd-ports-gnome-2d2fb1cf4d9b86a36c2fe95c217a7d6b58c8282f.zip |
1. Chase latest update of Qt, install designer plugin into a new place
2. Use buildtime qt-components switches
3. Bump PORTREVISION
PR: 116143
Submitted by: Max Brazhnikov <makc@issp.ac.ru> (maintainer)
Diffstat (limited to 'x11-toolkits/qwt6/Makefile')
-rw-r--r-- | x11-toolkits/qwt6/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/x11-toolkits/qwt6/Makefile b/x11-toolkits/qwt6/Makefile index cccf7637d327..9efa16f43143 100644 --- a/x11-toolkits/qwt6/Makefile +++ b/x11-toolkits/qwt6/Makefile @@ -7,6 +7,7 @@ PORTNAME= qwt PORTVERSION= 5.0.2 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= SF PKGNAMESUFFIX= -devel @@ -17,7 +18,7 @@ COMMENT= Qt Widgets for Technical Applications CONFLICTS= qwt-4.* USE_QT_VER= 4 -QT_COMPONENTS= gui moc qmake +QT_COMPONENTS= gui moc_build qmake_build USE_BZIP2= yes USE_GMAKE= yes HAS_CONFIGURE= yes @@ -25,7 +26,7 @@ USE_LDCONFIG= yes OPTIONS= DESIGNER_PLUGIN "Install plugin for Qt Designer" on -PLUGINDIR= ${PREFIX}/lib/plugins/designer +PLUGINDIR= ${PREFIX}/lib/qt4/plugins/designer .include <bsd.port.pre.mk> .include <${FILESDIR}/Makefile.man> @@ -33,7 +34,7 @@ PLUGINDIR= ${PREFIX}/lib/plugins/designer QPRO_DIRS= src .if !defined(WITHOUT_DESIGNER_PLUGIN) QPRO_DIRS+= designer -#QT_COMPONENTS+= designer xml rcc +#QT_COMPONENTS+= designer xml rcc_build BUILD_DEPENDS+= ${LOCALBASE}/bin/rcc:${PORTSDIR}/devel/qt4-rcc LIB_DEPENDS+= QtXml:${PORTSDIR}/textproc/qt4-xml \ QtDesigner:${PORTSDIR}/devel/qt4-designer @@ -54,10 +55,7 @@ post-configure: ${REINPLACE_CMD} -e \ 's|^CC .*|CC=${CC}|; \ s|^CXX .*|CXX=${CXX}|; \ - s|^LINK .*|LINK=${CXX}|; \ - s|-pipe||; \ - s|^\(CFLAGS .*= \)|\1${CFLAGS}|; \ - s|^\(CXXFLAGS = \)|\1${CXXFLAGS}|' \ + s|^LINK .*|LINK=${CXX}|' \ ${WRKSRC}/${d}/Makefile) .endfor |