summaryrefslogtreecommitdiff
path: root/emulators/vice/patches/patch-ag
blob: 4a3eed3ea9eaee39b2798bcc2f3529259c7f6286 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$NetBSD: patch-ag,v 1.6 2006/10/14 02:13:04 rillig Exp $

--- configure.orig	2006-01-08 21:31:51.000000000 +0100
+++ configure	2006-10-14 04:08:10.000000000 +0200
@@ -1319,7 +1319,7 @@ VICE_VERSION_BUILD=0
 
 
 
-if test x"$VICE_VERSION_BUILD" == "x" -o x"$VICE_VERSION_BUILD" == "x0" ; then
+if test x"$VICE_VERSION_BUILD" = "x" -o x"$VICE_VERSION_BUILD" = "x0" ; then
   VICE_VERSION=$VICE_VERSION_MAJOR"."$VICE_VERSION_MINOR
 else
   VICE_VERSION=$VICE_VERSION_MAJOR"."$VICE_VERSION_MINOR"."$VICE_VERSION_BUILD
@@ -1719,7 +1719,7 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst
           ac_config_headers="$ac_config_headers src/config.h"
 
 
-if test x"$VICE_VERSION_BUILD" == "x" -o x"$VICE_VERSION_BUILD" == "x0" ; then
+if test x"$VICE_VERSION_BUILD" = "x" -o x"$VICE_VERSION_BUILD" = "x0" ; then
   VERSION_RC=$VICE_VERSION_MAJOR","$VICE_VERSION_MINOR",0,0"
 else
   VERSION_RC=$VICE_VERSION_MAJOR","$VICE_VERSION_MINOR","$VICE_VERSION_BUILD",0"
@@ -10937,7 +10937,7 @@ done
   fi
 fi
 
-if test x"$is_beos" == "xyes"; then
+if test x"$is_beos" = "xyes"; then
 
 
   BEOS_NETWORK_HEADERS_PRESENT=yes
@@ -19748,7 +19748,7 @@ _ACEOF
 
 elif [ x"${enable_gnomeui}" = x"yes" ] ; then
 
-  LIBS="${LIBS} `gnome-config --libs gnomeui`"
+  LIBS="${LIBS} `pkg-config --libs libgnomeui-2.0`"
 
 
 cat >>confdefs.h <<\_ACEOF
@@ -20509,7 +20509,7 @@ if test x"$is_dos" != "xyes" -a x"$is_wi
     ARCH_INCLUDES="-I\$(top_srcdir)/src/arch/unix"
   else
     ARCH_LIBS="$ARCH_DIR/x11/gnome/libgnomeui.a $ARCH_DIR/libarch.a $ARCH_DIR/x11/libx11ui.a $ARCH_DIR/x11/gnome/libgnomeui.a $ARCH_DIR/x11/libx11ui.a $ARCH_DIR/libarch.a"
-    ARCH_INCLUDES="-I\$(top_srcdir)/src/arch/unix `gnome-config --cflags gnomeui`"
+    ARCH_INCLUDES="-I\$(top_srcdir)/src/arch/unix `pkg-config --cflags libgnomeui-2.0`"
   fi
 
 
@@ -21899,6 +21899,8 @@ do
 _ACEOF
 cat >>$CONFIG_STATUS <<\_ACEOF
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+	: Avoid regenerating within pkgsrc
+	exit 0
     ac_cs_recheck=: ;;
   --version | --vers* | -V )
     echo "$ac_cs_version"; exit 0 ;;