summaryrefslogtreecommitdiff
path: root/textproc/xxdiff
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xxdiff')
-rw-r--r--textproc/xxdiff/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/textproc/xxdiff/Makefile b/textproc/xxdiff/Makefile
index 02a01f8b37d5..5d6ea2e99949 100644
--- a/textproc/xxdiff/Makefile
+++ b/textproc/xxdiff/Makefile
@@ -22,12 +22,6 @@ COMMENT= QT interface to view/merge differences between 2 or 3 files
BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
USE_BISON= yes
USE_GMAKE= yes
USE_QT_VER= 2
@@ -35,6 +29,12 @@ TMAKEENV= TMAKEPATH=${LOCALBASE}/share/tmake/freebsd-g++ QTDIR=${X11BASE}
MAKE_ENV+= QTDIR=${X11BASE} PTHREAD_LIBS=${PTHREAD_LIBS}
WRKSRC= ${WRKDIR}/xxdiff-${PORTVERSION}/src
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500113
+BROKEN= "Does not compile (bad C++ code)"
+.endif
+
do-build:
(cd ${WRKSRC}; ${SETENV} ${TMAKEENV} tmake -o Makefile xxdiff.pro)
(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \