aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2013-03-17 14:05:20 +0000
committerJohan van Selst <johans@FreeBSD.org>2013-03-17 14:05:20 +0000
commit07ab5ebe4109d042d4688147bfebee562b36eb3e (patch)
tree13cbeab185d84dbaa1c657b2a57ddc2faab38a78 /lang
parentd6fe06e31d3d87eaa9cd6264a68f4bfc6113e363 (diff)
downloadports-07ab5ebe4109d042d4688147bfebee562b36eb3e.tar.gz
ports-07ab5ebe4109d042d4688147bfebee562b36eb3e.zip
Use correct flag for --export-dynamic
PR: ports/176981 Submitted by: Green Dog <fiziologus@gmail.com>
Notes
Notes: svn path=/head/; revision=314439
Diffstat (limited to 'lang')
-rw-r--r--lang/gawk/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index 13963fff2da8..d235f320d5c7 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: gawk
-# Date created: Mi 21 Okt 1998 13:53:18 CEST
-# Whom: Andreas Klemm <andreas@klemm.gtn.com>
-#
+# Created by: Andreas Klemm <andreas@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>