summaryrefslogtreecommitdiff
path: root/math/qscanplot
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-06-04 22:43:38 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-06-04 22:43:38 +0000
commit93872f18cc0a948ab9c010bbe5694579bd59f8c4 (patch)
tree918c0e1660ed837a4087b57670a1b1c181c285e0 /math/qscanplot
parentRemove some local changes that crept in with the previous commit. (diff)
Move inclusion of bsd.port.pre.mk later in the file for conditional BROKEN
tag. Early inclusion caused problems for some ports, so to be safe I'm updating all of them. Pointy hat to: kris
Notes
Notes: svn path=/head/; revision=82300
Diffstat (limited to 'math/qscanplot')
-rw-r--r--math/qscanplot/Makefile12
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