Strange krb5-config output after recent Heimdel import

Doug Rabson dfr at rabson.org
Fri May 9 11:09:58 UTC 2008


On 9 May 2008, at 11:31, Pascal Hofstee wrote:

> On Fri, 9 May 2008 18:16:58 +0800
> "Jiawei Ye" <leafy7382 at gmail.com> wrote:
>
>> Dear All,
>> After recent heimdel import, "krb5-config --libs" results in
>>
>> [root at business /usr/src/kerberos5]# krb5-config --libs
>> -L/usr/lib -lkrb5 @LIB_pkinit@ -lcom_err @LIB_hcrypto_appl@ -lasn1
>> -lroken -lcrypt @LIB_dlopen@ @LIB_door_create@ -lcom_err
>>
>> Before the import, it was:
>>
>> [ leafy at sh-mail ~] $ krb5-config --libs
>> -L/usr/lib -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err
>>
>> This broke some ports that depends on the output of krb5-config (ex.
>> security/p5-GSSAPI).
>>
>> Could the importer please fix this issue?
>
> Ahh, this explains the gnome-vfs build breakage i observed this
> morning. In my case it was "krb5-config --cflags" causing the build
> breakage.

Try this patch (untested - I'm waiting for my buildworld to complete).

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/kerberos5/usr.bin/krb5-config/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	24 Feb 2005 22:24:24 -0000	1.15
+++ Makefile	9 May 2008 11:08:56 -0000
@@ -7,16 +7,19 @@

  krb5-config: krb5-config.in
  	sed -e "s, at PACKAGE\@,FreeBSD heimdal,g" \
-	    -e "s, at VERSION\@,0.6.3,g" \
+	    -e "s, at VERSION\@,1.1.0,g" \
  	    -e "s, at prefix\@,/usr,g" \
  	    -e "s, at exec_prefix\@,/usr,g" \
  	    -e "s, at libdir\@,${LIBDIR},g" \
  	    -e "s, at includedir\@,${INCLUDEDIR},g" \
  	    -e "s, at LIB_crypt\@,-lcrypt,g" \
  	    -e "s, at LIB_dbopen\@,,g" \
-	    -e "s, at LIB_des_appl\@,-lcrypto,g" \
-	    -e "s, at LIBS\@,-lcom_err,g" \
-	    -e "s, at INCLUDE_des@,,g" \
+	    -e "s, at LIB_hcrypto_appl\@,-lcrypto,g" \
+	    -e "s, at LIB_pkinit\@,-lhx509,g" \
+	    -e "s, at LIB_dlopen\@,,g" \
+	    -e "s, at LIB_door_create\@,,g" \
+	    -e "s, at LIBS\@,,g" \
+	    -e "s, at INCLUDE_hcrypto@,,g" \
  	    ${.ALLSRC} > ${.TARGET}

  .include <bsd.prog.mk>



More information about the freebsd-current mailing list