aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2021-12-30 09:54:00 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2021-12-30 10:54:55 +0000
commit9724b5e9e0b31a29080565f3bbbd7f3f4fcf3499 (patch)
treee0b83f2b9b720041ed814388831d398ef38d1ef0 /security
parent47f5cd3dc4bc8bf50479235f83a87839f0527a58 (diff)
downloadports-9724b5e9e0b31a29080565f3bbbd7f3f4fcf3499.tar.gz
ports-9724b5e9e0b31a29080565f3bbbd7f3f4fcf3499.zip
security/libtasn1: remove clang workaround
The previously applied clang 10+ workaround which lowered -O optimization to -O1 appears to be no longer needed according to the upstream issue https://gitlab.com/gnutls/libtasn1/-/issues/30. PR: 252548 Reported by: Brad Smith
Diffstat (limited to 'security')
-rw-r--r--security/libtasn1/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile
index 624a067dc2e1..72c898ac460c 100644
--- a/security/libtasn1/Makefile
+++ b/security/libtasn1/Makefile
@@ -13,7 +13,7 @@ LICENSE= LGPL21+ GPLv3
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= cpe libtool pathfix pkgconfig compiler
+USES= cpe libtool pathfix pkgconfig
USE_CSTD= c99
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
@@ -30,15 +30,8 @@ INFO= libtasn1
DOCS_CONFIGURE_ENABLE= gtk-doc
DOCS_BUILD_DEPENDS= gtkdoc-check:textproc/gtk-doc
-.include <bsd.port.pre.mk>
-
-# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252548
-.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 100
-CFLAGS:= ${CFLAGS:C/-O[2-9]/-O1/g}
-.endif
-
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>