svn commit: r314581 - in head: converters/libiconv devel/gettext

Baptiste Daroussin bapt at FreeBSD.org
Mon Mar 18 15:51:40 UTC 2013


Author: bapt
Date: Mon Mar 18 15:51:39 2013
New Revision: 314581
URL: http://svnweb.freebsd.org/changeset/ports/314581

Log:
  Prevent using gawk which depends on gettext in configure scripts
  
  Reported by:	rene, avg
  Tested by:	rene

Modified:
  head/converters/libiconv/Makefile
  head/devel/gettext/Makefile

Modified: head/converters/libiconv/Makefile
==============================================================================
--- head/converters/libiconv/Makefile	Mon Mar 18 15:14:27 2013	(r314580)
+++ head/converters/libiconv/Makefile	Mon Mar 18 15:51:39 2013	(r314581)
@@ -51,5 +51,9 @@ PATCH_DIST_STRIP+=	-p1
 
 post-patch:
 	@${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h
+	@${REINPLACE_CMD} -e 's:gawk:awk:g' ${WRKSRC}/configure \
+		${WRKSRC}/libcharset/configure \
+		${WRKSRC}/preload/configure
+
 
 .include <bsd.port.mk>

Modified: head/devel/gettext/Makefile
==============================================================================
--- head/devel/gettext/Makefile	Mon Mar 18 15:14:27 2013	(r314580)
+++ head/devel/gettext/Makefile	Mon Mar 18 15:51:39 2013	(r314581)
@@ -62,7 +62,7 @@ pre-extract:
 
 post-patch:
 	@${FIND} ${WRKSRC} -name configure -print | ${XARGS} \
-	    ${REINPLACE_CMD} -e 's|mkdir gmkdir|mkdir|'
+	    ${REINPLACE_CMD} -e 's|mkdir gmkdir|mkdir|; s|gawk|awk|'
 .if defined (NOPORTDOCS)
 .for dir in runtime tools
 	@${REINPLACE_CMD} -e 's|^SUBDIRS = doc|SUBDIRS =|' \


More information about the svn-ports-head mailing list