summaryrefslogtreecommitdiff
path: root/x11/xscreensaver/patches/patch-ac
blob: 7b31189928bde01b55dd76439653e6a4b898321f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$NetBSD: patch-ac,v 1.9 2003/02/21 22:05:02 mycroft Exp $

--- configure.orig	2003-02-19 06:47:45.000000000 +0000
+++ configure	2003-02-21 21:44:23.000000000 +0000
@@ -11061,7 +11061,7 @@
     # from Matt Knopp <mhat@infocalypse.netlag.com>
     # (who got it from amu@mit.edu)
 
-    PASSWD_LIBS="$PASSWD_LIBS -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err"
+    PASSWD_LIBS="$PASSWD_LIBS -lkrb5 -lasn1 -lkrb -lcrypto -lroken -lcom_err"
 
     # jwz: MacOS X uses -lkrb5, but not -lcrypt
 
@@ -13050,19 +13050,7 @@
   fi
 
 
-  GNOME_DATADIR=""
-  if test "$have_gtk" = yes; then
-    if test -n "$pkg_config"; then
-      if test "$have_gtk2" = yes; then
-        GNOME_DATADIR=`$pkg_config --variable=prefix gtk+-2.0`
-      else
-        GNOME_DATADIR=`$pkg_config --variable=prefix gtk+`
-      fi
-    else
-      GNOME_DATADIR=`$gtk_config --prefix`
-    fi
-    GNOME_DATADIR="$GNOME_DATADIR/share"
-  fi
+  GNOME_DATADIR="$datadir"
 
   # .desktop files go in different places in Gnome 1.x and Gnome 2.x...
   if test "$have_gtk2" = yes; then