aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/plotutils
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2003-10-31 18:14:37 +0800
committertg <tg@FreeBSD.org>2003-10-31 18:14:37 +0800
commitb5d9b4984a3ded884f6e5b3c5f4557c09c1ac009 (patch)
tree0b7df0b37b44c039223d8aaf4c444bd77c0f1c72 /graphics/plotutils
parent9c0eaca60293b37b5ff0ab976b1758d8763ee5a2 (diff)
downloadfreebsd-ports-graphics-b5d9b4984a3ded884f6e5b3c5f4557c09c1ac009.tar.gz
freebsd-ports-graphics-b5d9b4984a3ded884f6e5b3c5f4557c09c1ac009.tar.zst
freebsd-ports-graphics-b5d9b4984a3ded884f6e5b3c5f4557c09c1ac009.zip
Unbreak.
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 a1e9b7f7938..6588ede849a 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>