aboutsummaryrefslogtreecommitdiff
path: root/graphics/plotutils
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2003-10-31 10:14:37 +0000
committerThomas Gellekum <tg@FreeBSD.org>2003-10-31 10:14:37 +0000
commit9e9ec5736e5dd9b6944ebb7cb73b1f79547a81a8 (patch)
tree56dc6fcfccc98e62024c481dca8b2a9f27d68e1f /graphics/plotutils
parentf5815d228ee086041a034a48becf648ccde33010 (diff)
downloadports-9e9ec5736e5dd9b6944ebb7cb73b1f79547a81a8.tar.gz
ports-9e9ec5736e5dd9b6944ebb7cb73b1f79547a81a8.zip
Notes
Diffstat (limited to 'graphics/plotutils')
-rw-r--r--graphics/plotutils/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/graphics/plotutils/Makefile b/graphics/plotutils/Makefile
index a1e9b7f79385..6588ede849a0 100644
--- a/graphics/plotutils/Makefile
+++ b/graphics/plotutils/Makefile
@@ -18,7 +18,8 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_MOTIF= yes
USE_LIBTOOL= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -fpermissive" \
+USE_REINPLACE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MOTIFLIB="${MOTIFLIB}" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-libplotter --enable-libxmi --with-motif
@@ -28,13 +29,7 @@ MAN1= ode.1 plot.1 plotfont.1 spline.1 tek2plot.1
INFO= libxmi plotutils
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
pre-patch:
- @${PERL} -pi -e 's|-lXm |\$$\{MOTIFLIB\} |g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lXm |\$$\{MOTIFLIB\} |g' ${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>