diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-03-03 18:07:16 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-03-03 18:07:16 +0000 |
commit | a7e87390d1eecfcc08a066af7b6a070206d8608c (patch) | |
tree | 7487447cf3e95ef291d8119476c7f38689099eda | |
parent | Change back to gmake (diff) |
Convert REINPLACE_CMD to patch file
Notes
Notes:
svn path=/head/; revision=567116
-rw-r--r-- | dns/libidn2/Makefile | 6 | ||||
-rw-r--r-- | dns/libidn2/files/patch-config.h.in | 10 |
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 |