diff options
Diffstat (limited to 'graphics/plotutils')
-rw-r--r-- | graphics/plotutils/Makefile | 13 |
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> |