aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/kmago/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/kmago/Makefile')
-rw-r--r--ftp/kmago/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/ftp/kmago/Makefile b/ftp/kmago/Makefile
index b16446a528e5..9741d054fbc7 100644
--- a/ftp/kmago/Makefile
+++ b/ftp/kmago/Makefile
@@ -14,19 +14,11 @@ MASTER_SITE_SUBDIR= kmago
MAINTAINER= demon@FreeBSD.org
-LIB_DEPENDS= kdecore.4:${PORTSDIR}/x11/kdelibs2
RUN_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
-USE_QT2= yes
-MOC?= ${X11BASE}/bin/moc2
+USE_KDELIBS_VER=2
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt2 \
- --with-qt-libraries=${X11BASE}/lib \
- --with-extra-libs=${LOCALBASE}/lib
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
- MOC="${MOC}" LIBQT="-lqt2" LIBQTFILE="libqt2" \
- LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lgcc -lstdc++"
post-patch:
@${PERL} -pi -e 's#lqt#lqt2#g' ${WRKSRC}/configure ${WRKSRC}/kmago/Makefile.in