[Midnightbsd-cvs] mports: Makefile: Magus claims this needs iconv.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jul 27 04:43:41 EDT 2008


Log Message:
-----------
Magus claims this needs iconv.

Modified Files:
--------------
    mports/math/gnuplot:
        Makefile (r1.6 -> r1.7)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/math/gnuplot/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -L math/gnuplot/Makefile -L math/gnuplot/Makefile -u -r1.6 -r1.7
--- math/gnuplot/Makefile
+++ math/gnuplot/Makefile
@@ -8,6 +8,7 @@
 
 PORTNAME=	gnuplot
 PORTVERSION=	4.2.3
+PORTREVISION=	1
 CATEGORIES=	math graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,6 +17,7 @@
 COMMENT=	A command-driven interactive function plotting program
 LICENSE=	other
 
+USE_ICONV=	yes
 USE_GCPIO=	yes
 GNU_CONFIGURE=	yes
 WANT_WX=	yes
@@ -99,6 +101,9 @@
 	@${REINPLACE_CMD} -e \
 		'/^install:/s/install-am//' ${WRKSRC}/share/LaTeX/Makefile.in
 .endif
+	@${FIND} ${WRKSRC} -name Makefile.in | \
+                ${XARGS} ${REINPLACE_CMD} \
+                -e "s|@LIBICONV@|-liconv|g";
 	@${REINPLACE_CMD} -e \
 		's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in
 	@${FIND} "${WRKSRC}" -name '*.orig' -delete


More information about the Midnightbsd-cvs mailing list