svn commit: r314439 - head/lang/gawk

Johan van Selst johans at FreeBSD.org
Sun Mar 17 14:05:20 UTC 2013


Author: johans
Date: Sun Mar 17 14:05:20 2013
New Revision: 314439
URL: http://svnweb.freebsd.org/changeset/ports/314439

Log:
  Use correct flag for --export-dynamic
  
  PR:		ports/176981
  Submitted by:	Green Dog <fiziologus at gmail.com>

Modified:
  head/lang/gawk/Makefile

Modified: head/lang/gawk/Makefile
==============================================================================
--- head/lang/gawk/Makefile	Sun Mar 17 14:04:11 2013	(r314438)
+++ head/lang/gawk/Makefile	Sun Mar 17 14:05:20 2013	(r314439)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:	gawk
-# Date created:		Mi  21 Okt 1998 13:53:18 CEST
-# Whom:			Andreas Klemm <andreas at klemm.gtn.com>
-#
+# Created by: Andreas Klemm <andreas at klemm.gtn.com>
 # $FreeBSD$
 
 PORTNAME=	gawk
@@ -37,7 +34,9 @@ CONFIGURE_ARGS+=--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
 
-post-extract:
+post-patch:
 	@${RM} -f ${WRKSRC}/doc/*.info
+	@${REINPLACE_CMD} -e 's/ -export-dynamic/ -Wl,--export-dynamic/' \
+		${WRKSRC}/configure
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list