diff options
Diffstat (limited to 'math/qscanplot')
-rw-r--r-- | math/qscanplot/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/math/qscanplot/Makefile b/math/qscanplot/Makefile index 32467c7f6a3c..b4c8095f63e0 100644 --- a/math/qscanplot/Makefile +++ b/math/qscanplot/Makefile @@ -15,12 +15,6 @@ COMMENT= A program to extract data from scanned plots, graphs and figures BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile (bad C++ code)" -.endif - USE_X_PREFIX= yes USE_QT_VER= 2 USE_GMAKE= yes @@ -30,6 +24,12 @@ CONFIGURE_ENV= LDFLAGS="-lm ${PTHREAD_LIBS}" \ LIBQT=-lqt2 MAKE_ENV= QTDIR=${X11BASE} +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 500113 +BROKEN= "Does not compile (bad C++ code)" +.endif + post-patch: @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/qscanplot/templates/sample.qscanplotrc |