upgpkg: maxima 5.46.0-9 (sbcl rebuild)
[arch-packages.git] / librpcsecgss / trunk / librpcsecgss-0.18-heimdal.patch
blobdeb03912387f7b8c92516691770ed27b82a92988
1 diff -NaurwB librpcsecgss-0.18.orig/configure.in librpcsecgss-0.18/configure.in
2 --- librpcsecgss-0.18.orig/configure.in 2008-04-09 00:05:40.000000000 +0200
3 +++ librpcsecgss-0.18/configure.in 2008-06-12 19:05:51.000000000 +0200
4 @@ -12,10 +12,15 @@
5 AC_PROG_RANLIB
7 # Checks for libraries.
8 -PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1], [],
9 +PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1],
10 + [echo GSSGLUE found; GSSAPI_IMPLEMENTATION=libgssglue],
11 + [PKG_CHECK_MODULES([GSSGLUE], [heimdal-gssapi],
12 + [echo HEIMDAL found; GSSAPI_IMPLEMENTATION=heimdal-gssapi],
13 [AC_MSG_ERROR([Unable to locate information required to use libgssglue.
14 If you have pkgconfig installed, you might try setting environment
15 - variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])])
16 + variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])])])
18 +AC_SUBST([GSSAPI_IMPLEMENTATION])
20 # Checks for header files.
21 AC_HEADER_STDC
22 diff -NaurwB librpcsecgss-0.18.orig/librpcsecgss.pc.in librpcsecgss-0.18/librpcsecgss.pc.in
23 --- librpcsecgss-0.18.orig/librpcsecgss.pc.in 2007-09-06 17:39:04.000000000 +0200
24 +++ librpcsecgss-0.18/librpcsecgss.pc.in 2008-06-12 19:06:40.000000000 +0200
25 @@ -5,7 +5,7 @@
27 Name: librpcsecgss
28 Description: Library that implements rpcsec_gss interface.
29 -Requires: libgssglue
30 +Requires: @GSSAPI_IMPLEMENTATION@
31 Version: @PACKAGE_VERSION@
32 Libs: -L@libdir@ -lrpcsecgss
33 Cflags: -I@includedir@/rpcsecgss