aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/libidn/Makefile5
-rw-r--r--dns/libidn/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/devel/libidn/Makefile b/devel/libidn/Makefile
index 58be01d7e521..a35f0cf97b9f 100644
--- a/devel/libidn/Makefile
+++ b/devel/libidn/Makefile
@@ -23,6 +23,7 @@ USE_GNOME= gnomehack
USE_ICONV= yes
USE_LIBTOOL_VER= 13
USE_PERL5_BUILD= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -39,6 +40,10 @@ PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|@image{components}||g' \
+ ${WRKSRC}/doc/libidn.texi
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
diff --git a/dns/libidn/Makefile b/dns/libidn/Makefile
index 58be01d7e521..a35f0cf97b9f 100644
--- a/dns/libidn/Makefile
+++ b/dns/libidn/Makefile
@@ -23,6 +23,7 @@ USE_GNOME= gnomehack
USE_ICONV= yes
USE_LIBTOOL_VER= 13
USE_PERL5_BUILD= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -39,6 +40,10 @@ PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|@image{components}||g' \
+ ${WRKSRC}/doc/libidn.texi
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}