summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/gxmlviewer/Makefile4
-rw-r--r--textproc/libxml2/Makefile3
-rw-r--r--textproc/wv/Makefile6
3 files changed, 1 insertions, 12 deletions
diff --git a/textproc/gxmlviewer/Makefile b/textproc/gxmlviewer/Makefile
index 64c5c0d04c84..5e3e85fcacc4 100644
--- a/textproc/gxmlviewer/Makefile
+++ b/textproc/gxmlviewer/Makefile
@@ -21,8 +21,6 @@ USE_GNOME= yes
GNU_CONFIGURE= yes
post-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|<iconv.h>|<giconv.h>|g ; \
- s|-liconv|-lgiconv|g' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index 8e485757a08c..5806dd903d16 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -49,8 +49,5 @@ pre-extract:
pre-patch:
@find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
- @cd ${WRKSRC} && ${PERL} -pi -e \
- 's|([^g])iconv.h|\1giconv.h|g ; s|-liconv|-lgiconv|g' \
- configure include/libxml/encoding.h
.include <bsd.port.mk>
diff --git a/textproc/wv/Makefile b/textproc/wv/Makefile
index 8bc38d5fdd9e..73bfac28b6d9 100644
--- a/textproc/wv/Makefile
+++ b/textproc/wv/Makefile
@@ -25,10 +25,4 @@ MAN1= wvAbw.1 wvCleanLatex.1 wvDVI.1 wvHtml.1 wvLatex.1 wvMime.1 wvPDF.1 \
wvPS.1 wvRTF.1 wvSummary.1 wvText.1 wvVersion.1 wvWare.1 wvWml.1
MLINKS= wvWare.1 wvConvert.1
-pre-patch:
- @${PERL} -pi -e 's|<iconv.h>|<giconv.h>|g ; \
- s|-liconv|-lgiconv|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
- 's|"iconv.h"|"giconv.h"|g'
-
.include <bsd.port.mk>