aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-03-03 18:07:16 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-03-03 18:07:16 +0000
commita7e87390d1eecfcc08a066af7b6a070206d8608c (patch)
tree7487447cf3e95ef291d8119476c7f38689099eda /dns
parent0719ac31ea3b1c0cd515a7c5bcb777914699d805 (diff)
downloadports-a7e87390d1eecfcc08a066af7b6a070206d8608c.tar.gz
ports-a7e87390d1eecfcc08a066af7b6a070206d8608c.zip
Convert REINPLACE_CMD to patch file
Notes
Notes: svn path=/head/; revision=567116
Diffstat (limited to 'dns')
-rw-r--r--dns/libidn2/Makefile6
-rw-r--r--dns/libidn2/files/patch-config.h.in10
2 files changed, 10 insertions, 6 deletions
diff --git a/dns/libidn2/Makefile b/dns/libidn2/Makefile
index 09c90056c315..50376efb1cda 100644
--- a/dns/libidn2/Makefile
+++ b/dns/libidn2/Makefile
@@ -26,10 +26,4 @@ USE_LDCONFIG= yes
INFO= libidn2
-post-patch:
- @${REINPLACE_CMD} -e '/^TMPDIR = /d' ${WRKSRC}/Makefile.in
-
-post-configure:
- @${REINPLACE_CMD} -e '/HAVE_SYMVER_ALIAS_SUPPORT/d' ${WRKSRC}/config.h
-
.include <bsd.port.mk>
diff --git a/dns/libidn2/files/patch-config.h.in b/dns/libidn2/files/patch-config.h.in
new file mode 100644
index 000000000000..86bf890246a7
--- /dev/null
+++ b/dns/libidn2/files/patch-config.h.in
@@ -0,0 +1,10 @@
+--- config.h.in.orig 2019-11-14 10:05:07 UTC
++++ config.h.in
+@@ -246,7 +246,6 @@
+ #undef HAVE_STRVERSCMP
+
+ /* The toolchain supports aliases and .symver. */
+-#undef HAVE_SYMVER_ALIAS_SUPPORT
+
+ /* Define to 1 if you have the <sys/bitypes.h> header file. */
+ #undef HAVE_SYS_BITYPES_H