ports/169740: [PATCH] fix build of security/krb5 with clang
Niclas Zeising
zeising at daemonic.se
Mon Jul 9 16:50:08 UTC 2012
>Number: 169740
>Category: ports
>Synopsis: [PATCH] fix build of security/krb5 with clang
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 09 16:50:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Niclas Zeising
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD tifa.daemonic.se 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r231776M: Wed Feb 15 22:30:06 CET 2012 root at tifa.daemonic.se:/usr/obj/usr/src/sys/TIFA amd64
>Description:
security/krb5 does not build (link) with clang.
>How-To-Repeat:
>Fix:
Attached patch uses -std=gnu89 to build, thereby fixing the linkage issues.
--- ports.security.krb5.clangfix.diff begins here ---
Index: security/krb5/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/krb5/Makefile,v
retrieving revision 1.157
diff -u -d -r1.157 Makefile
--- security/krb5/Makefile 1 Jun 2012 05:24:05 -0000 1.157
+++ security/krb5/Makefile 9 Jul 2012 16:40:59 -0000
@@ -27,6 +27,7 @@
USE_GMAKE= yes
USE_PERL5_BUILD= yes
USE_LDCONFIG= yes
+USE_CSTD= gnu89
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS?= --enable-shared
CONFIGURE_ENV= INSTALL="${INSTALL}" YACC="${YACC}"
--- ports.security.krb5.clangfix.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list