aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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