pkgsrc-wip/endeavour/patches/patch-aa
David Howland 86da1c6b55 Endeavour Mark II is a complete file management suite that comes with a
File Browser, Image Browser, Archiver, Recycled Objects system, and a set
of file & disk management utility programs.
2006-07-31 22:15:43 +00:00

495 lines
17 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 2006/07/31 22:15:44 dhowland Exp $
--- endeavour2/platforms.ini.orig 2006-01-31 02:40:52.000000000 -0500
+++ endeavour2/platforms.ini
@@ -24,23 +24,21 @@ MessageSuccess = Type 'gmake all' or 'ma
#
Platform = UNIX
Description = For most any UNIX system
- PREFIX = /usr
+ PREFIX = @PREFIX@
CFLAGS = -Wall -O2 -DNEED_STRCASESTR
LIBS = -lm
LIB_DIR =
CC = cc
CPP = c++
- PlatformSearchPathInclude = /usr/include
+ PlatformSearchPathInclude = @PREFIX@/include
PlatformSearchPathInclude = /usr/X11R6/include
PlatformSearchPathLib = /lib
- PlatformSearchPathLib = /usr/lib
+ PlatformSearchPathLib = @PREFIX@/lib
PlatformSearchPathLib = /usr/X11R6/lib
- PlatformSearchPathEtc = /etc
- PlatformSearchPathEtc = /usr/etc
- PlatformSearchPathBin = /bin
- PlatformSearchPathBin = /usr/bin
+ PlatformSearchPathEtc = @PREFIX@/etc
+ PlatformSearchPathBin = @PREFIX@/bin
PlatformSearchPathBin = /usr/X11R6/bin
- PlatformSearchPathData = /usr/share/icons
+ PlatformSearchPathData = @PREFIX@/share/icons
PlatformFeature = debug
Description = Just adds -g to the CFLAGS for debugging
MustExist = No
@@ -90,460 +88,3 @@ Platform = UNIX
DependType = Program
MustExist = Yes
DependPath = gtk-config
-
-# FreeBSD
-#
-# Author: Sebastian Kutsch <Sebastian.Kutsch@web.de>
-#
-Platform = FreeBSD
- Description = For FreeBSD
- PREFIX = /usr
- CFLAGS = -Wall -O2 -DNEED_STRCASESTR
- LIBS = -lm
- LIB_DIR =
- CC = cc
- CPP = c++
- PlatformSearchPathInclude = /usr/include
- PlatformSearchPathInclude = /usr/X11R6/include
- PlatformSearchPathLib = /lib
- PlatformSearchPathLib = /usr/lib
- PlatformSearchPathLib = /usr/X11R6/lib
- PlatformSearchPathEtc = /etc
- PlatformSearchPathEtc = /usr/etc
- PlatformSearchPathBin = /bin
- PlatformSearchPathBin = /usr/bin
- PlatformSearchPathBin = /usr/X11R6/bin
- PlatformSearchPathData = /usr/share/icons
- PlatformFeature = debug
- Description = Just adds -g to the CFLAGS for debugging
- MustExist = No
- FeatureCFLAGS = -g
- PlatformFeature = libgif
- Description = Uncompressed GIF Library
- MustExist = Preffered
- FeatureCFLAGS = -DHAVE_LIBGIF
-# FreeBSD does not symlink libgif to libungif or vice versa
- FeatureLIBS = -lungif
- FeatureDepend = libgif-devel
- DependType = Header
- MustExist = Yes
- DependPath = gif_lib.h
- DependGrepString = DGifOpenFileName
- PlatformFeature = XF86VidMode
- Description = XF86 Video Mode extension
- MustExist = Preferred
- FeatureCFLAGS = -DHAVE_XF86_VIDMODE
- FeatureLIBS = -lXxf86vm
- FeatureLIB_DIR = -L/usr/X11R6/lib/
- FeatureDepend = xf86vidmode-lib
- DependType = Library
- MustExist = Yes
- DependPath = libXxf86vm.a
- DependGrepString = XF86VidModeQueryExtension
- FeatureDepend = xf86vidmode-devel
- DependType = Header
- MustExist = Yes
- DependPath = X11/extensions/xf86vmode.h
- DependGrepString = XF86VidModeQueryExtension
- PlatformFeature = Imlib
- Description = Image library
- MustExist = Preffered
- FeatureCFLAGS = `imlib-config --cflags` -DHAVE_IMLIB
- FeatureLIBS = `imlib-config --libs`
- FeatureDepend = Imlib-devel
- DependType = Program
- MustExist = Yes
- DependPath = imlib-config
- PlatformFeature = libgtk
- Description = GTK+ 1.2.x
- MustExist = Yes
- FeatureCFLAGS = `gtk-config --cflags`
- FeatureLIBS = `gtk-config --libs`
- FeatureLIB_DIR = -L/usr/X11R6/lib
- FeatureDepend = gtk-devel
- DependType = Program
- MustExist = Yes
- DependPath = gtk-config
-
-# Linux
-#
-# Works on:
-#
-# Mandrake Linux
-# RedHat Linux 6.x or newer
-# SUSE
-#
-Platform = Linux
- Description = For most any Linux system
- PREFIX = /usr
- CFLAGS = -Wall -O2 -DNEED_STRCASESTR
- LIBS = -lm
- LIB_DIR =
- CC = cc
- CPP = c++
- PlatformSearchPathInclude = /usr/include
- PlatformSearchPathInclude = /usr/X11R6/include
- PlatformSearchPathInclude = /usr/local/include
- PlatformSearchPathInclude = /opt/gnome/include
- PlatformSearchPathLib = /lib
- PlatformSearchPathLib = /usr/lib
- PlatformSearchPathLib = /usr/X11R6/lib
- PlatformSearchPathLib = /usr/local/lib
- PlatformSearchPathLib = /opt/gnome/lib
- PlatformSearchPathEtc = /etc
- PlatformSearchPathEtc = /usr/etc
- PlatformSearchPathEtc = /usr/local/etc
- PlatformSearchPathBin = /bin
- PlatformSearchPathBin = /usr/bin
- PlatformSearchPathBin = /usr/X11R6/bin
- PlatformSearchPathBin = /usr/local/bin
- PlatformSearchPathBin = /usr/games
- PlatformSearchPathBin = /opt/gnome/bin
- PlatformSearchPathData = /usr/share/icons
- PlatformSearchPathData = /usr/share/games
- PlatformFeature = debug
- Description = Just adds -g to the CFLAGS for debugging
- MustExist = No
- FeatureCFLAGS = -g
- PlatformFeature = arch-i486
- Description = Adds -march=i486 for 486 specific optimizations
- MustExist = Preferred
- FeatureCFLAGS = -march=i486
- FeatureDepend = i486
- DependType = Machine
- MustExist = Yes
- DependMachine = i486
- PlatformFeature = arch-i586
- Description = Adds -march=i586 for Pentium specific optimizations
- MustExist = Preferred
- FeatureCFLAGS = -march=i586
- FeatureDepend = i586
- DependType = Machine
- MustExist = Yes
- DependMachine = i586
- PlatformFeature = arch-i686
- Description = Adds -march=i686 for Pentium Pro specific optimizations
- MustExist = Preferred
- FeatureCFLAGS = -march=i686
- FeatureDepend = i686
- DependType = Machine
- MustExist = Yes
- DependMachine = i686
- PlatformFeature = arch-pentiumpro
- Description = Adds -march=pentiumpro for Pentium Pro specific optimizations
- MustExist = Preferred
- FeatureCFLAGS = -march=pentiumpro
- FeatureDepend = pentiumpro
- DependType = Machine
- MustExist = Yes
- DependMachine = pentiumpro
- PlatformFeature = libgif
- Description = Uncompressed GIF Library
- MustExist = Preffered
- FeatureCFLAGS = -DHAVE_LIBGIF
- FeatureLIBS = -lgif
- FeatureDepend = libgif-devel
- DependType = Header
- MustExist = Yes
- DependPath = gif_lib.h
- DependGrepString = DGifOpenFileName
- PlatformFeature = XF86VidMode
- Description = XF86 Video Mode extension
- MustExist = Preferred
- FeatureCFLAGS = -DHAVE_XF86_VIDMODE
- FeatureLIBS = -lXxf86vm
- FeatureLIB_DIR = -L/usr/X11R6/lib/
- FeatureDepend = xf86vidmode-lib
- DependType = Library
- MustExist = Yes
- DependPath = libXxf86vm.a
- DependGrepString = XF86VidModeQueryExtension
- FeatureDepend = xf86vidmode-devel
- DependType = Header
- MustExist = Yes
- DependPath = X11/extensions/xf86vmode.h
- DependGrepString = XF86VidModeQueryExtension
- PlatformFeature = Imlib
- Description = Image library
- MustExist = Preffered
- FeatureCFLAGS = `imlib-config --cflags` -DHAVE_IMLIB
- FeatureLIBS = `imlib-config --libs`
- FeatureDepend = Imlib-devel
- DependType = Program
- MustExist = Yes
- DependPath = imlib-config
- PlatformFeature = libgtk
- Description = GTK+ 1.2.x
- MustExist = Yes
- FeatureCFLAGS = `gtk-config --cflags`
- FeatureLIBS = `gtk-config --libs`
- FeatureLIB_DIR = -L/usr/X11R6/lib
- FeatureDepend = gtk-devel
- DependType = Program
- MustExist = Yes
- DependPath = gtk-config
-
-
-# Debian GNU/Linux
-#
-# Author: Christoph Berg <cb@df7cb.de>
-#
-Platform = Debian
- Description = For compiling on Debian GNU/Linux
- PREFIX = /usr
- CFLAGS = -g -Wall -DDEBIAN -DNEED_STRCASESTR -fPIC
- LIBS = -lm
- LIB_DIR =
- CC = cc
- CPP = c++
- PlatformSearchPathInclude = /usr/include
- PlatformSearchPathInclude = /usr/X11R6/include
- PlatformSearchPathLib = /lib
- PlatformSearchPathLib = /usr/lib
- PlatformSearchPathLib = /usr/X11R6/lib
- PlatformSearchPathEtc = /etc
- PlatformSearchPathEtc = /usr/etc
- PlatformSearchPathBin = /bin
- PlatformSearchPathBin = /usr/bin
- PlatformSearchPathBin = /usr/X11R6/bin
- PlatformSearchPathBin = /usr/games
- PlatformSearchPathData = /usr/share/icons
- PlatformSearchPathData = /usr/share/games
- PlatformFeature = debian-normal
- Description = Add -O2 to CFLAGS
- MustExist = No
- FeatureCFLAGS = -O2
- PlatformFeature = debian-noopt
- Description = Add -O0 to CFLAGS
- MustExist = No
- FeatureCFLAGS = -O0
- PlatformFeature = libgif
- Description = Uncompressed GIF Library
- MustExist = Preffered
- FeatureCFLAGS = -DHAVE_LIBGIF
- FeatureLIBS = -lgif
- FeatureDepend = libgif-devel
- DependType = Header
- MustExist = Yes
- DependPath = gif_lib.h
- DependGrepString = DGifOpenFileName
- PlatformFeature = XF86VidMode
- Description = XF86 Video Mode extension
- MustExist = Preferred
- FeatureCFLAGS = -DHAVE_XF86_VIDMODE
- FeatureLIBS = -lXxf86vm
- FeatureLIB_DIR = -L/usr/X11R6/lib/
- FeatureDepend = xf86vidmode-lib
- DependType = Library
- MustExist = Yes
- DependPath = libXxf86vm.a
- DependGrepString = XF86VidModeQueryExtension
- FeatureDepend = xf86vidmode-devel
- DependType = Header
- MustExist = Yes
- DependPath = X11/extensions/xf86vmode.h
- DependGrepString = XF86VidModeQueryExtension
- PlatformFeature = Imlib
- Description = Image library
- MustExist = Preffered
- FeatureCFLAGS = `imlib-config --cflags` -DHAVE_IMLIB
- FeatureLIBS = -lImlib
- FeatureDepend = Imlib-devel
- DependType = Program
- MustExist = Yes
- DependPath = imlib-config
- PlatformFeature = libgtk
- Description = GTK+ 1.2.x
- MustExist = Yes
- FeatureCFLAGS = `gtk-config --cflags`
- FeatureLIBS = `gtk-config --libs`
- FeatureLIB_DIR = -L/usr/X11R6/lib
- FeatureDepend = gtk-devel
- DependType = Program
- MustExist = Yes
- DependPath = gtk-config
-
-# Linux - Big Endian
-#
-# For Linux on big endian machines.
-#
-Platform = LinuxBigEndian
- Description = For Linux on big endian machines
- PREFIX = /usr
- CFLAGS = -Wall -O2 -DNEED_STRCASESTR -DUSE_BIG_ENDIAN
- LIBS = -lm
- LIB_DIR =
- CC = cc
- CPP = c++
- PlatformSearchPathInclude = /usr/include
- PlatformSearchPathInclude = /usr/X11R6/include
- PlatformSearchPathInclude = /usr/local/include
- PlatformSearchPathInclude = /opt/gnome/include
- PlatformSearchPathLib = /lib
- PlatformSearchPathLib = /usr/lib
- PlatformSearchPathLib = /usr/X11R6/lib
- PlatformSearchPathLib = /usr/local/lib
- PlatformSearchPathLib = /opt/gnome/lib
- PlatformSearchPathEtc = /etc
- PlatformSearchPathEtc = /usr/etc
- PlatformSearchPathEtc = /usr/local/etc
- PlatformSearchPathBin = /bin
- PlatformSearchPathBin = /usr/bin
- PlatformSearchPathBin = /usr/X11R6/bin
- PlatformSearchPathBin = /usr/local/bin
- PlatformSearchPathBin = /usr/games
- PlatformSearchPathBin = /opt/gnome/bin
- PlatformSearchPathData = /usr/share/icons
- PlatformSearchPathData = /usr/share/games
- PlatformFeature = debug
- Description = Just adds -g to the CFLAGS for debugging
- MustExist = No
- FeatureCFLAGS = -g
- PlatformFeature = arch-i486
- Description = Adds -march=i486 for 486 specific optimizations
- MustExist = Preferred
- FeatureCFLAGS = -march=i486
- FeatureDepend = i486
- DependType = Machine
- MustExist = Yes
- DependMachine = i486
- PlatformFeature = arch-i586
- Description = Adds -march=i586 for Pentium specific optimizations
- MustExist = Preferred
- FeatureCFLAGS = -march=i586
- FeatureDepend = i586
- DependType = Machine
- MustExist = Yes
- DependMachine = i586
- PlatformFeature = arch-i686
- Description = Adds -march=i686 for Pentium Pro specific optimizations
- MustExist = Preferred
- FeatureCFLAGS = -march=i686
- FeatureDepend = i686
- DependType = Machine
- MustExist = Yes
- DependMachine = i686
- PlatformFeature = arch-pentiumpro
- Description = Adds -march=pentiumpro for Pentium Pro specific optimizations
- MustExist = Preferred
- FeatureCFLAGS = -march=pentiumpro
- FeatureDepend = pentiumpro
- DependType = Machine
- MustExist = Yes
- DependMachine = pentiumpro
- PlatformFeature = libgif
- Description = Uncompressed GIF Library
- MustExist = Preffered
- FeatureCFLAGS = -DHAVE_LIBGIF
- FeatureLIBS = -lgif
- FeatureDepend = libgif-devel
- DependType = Header
- MustExist = Yes
- DependPath = gif_lib.h
- DependGrepString = DGifOpenFileName
- PlatformFeature = XF86VidMode
- Description = XF86 Video Mode extension
- MustExist = Preferred
- FeatureCFLAGS = -DHAVE_XF86_VIDMODE
- FeatureLIBS = -lXxf86vm
- FeatureLIB_DIR = -L/usr/X11R6/lib/
- FeatureDepend = xf86vidmode-lib
- DependType = Library
- MustExist = Yes
- DependPath = libXxf86vm.a
- DependGrepString = XF86VidModeQueryExtension
- FeatureDepend = xf86vidmode-devel
- DependType = Header
- MustExist = Yes
- DependPath = X11/extensions/xf86vmode.h
- DependGrepString = XF86VidModeQueryExtension
- PlatformFeature = Imlib
- Description = Image library
- MustExist = Preffered
- FeatureCFLAGS = `imlib-config --cflags` -DHAVE_IMLIB
- FeatureLIBS = `imlib-config --libs`
- FeatureDepend = Imlib-devel
- DependType = Program
- MustExist = Yes
- DependPath = imlib-config
- PlatformFeature = libgtk
- Description = GTK+ 1.2.x
- MustExist = Yes
- FeatureCFLAGS = `gtk-config --cflags`
- FeatureLIBS = `gtk-config --libs`
- FeatureLIB_DIR = -L/usr/X11R6/lib
- FeatureDepend = gtk-devel
- DependType = Program
- MustExist = Yes
- DependPath = gtk-config
-
-# Sun/Solaris 2.8
-#
-Platform = Solaris
- Description = For Sun/Solaris 2.8
- PREFIX = /usr
- CFLAGS = -Wall -O2 -DNEED_STRCASESTR -D__SOLARIS__
- LIBS = -lm -lposix4
- LIB_DIR =
- CC = cc
- CPP = c++
- PlatformSearchPathInclude = /usr/include
- PlatformSearchPathInclude = /usr/X11R6/include
- PlatformSearchPathLib = /lib
- PlatformSearchPathLib = /usr/lib
- PlatformSearchPathLib = /usr/X11R6/lib
- PlatformSearchPathEtc = /etc
- PlatformSearchPathEtc = /usr/etc
- PlatformSearchPathBin = /bin
- PlatformSearchPathBin = /usr/bin
- PlatformSearchPathBin = /usr/X11R6/bin
- PlatformSearchPathData = /usr/share/icons
- PlatformFeature = debug
- Description = Just adds -g to the CFLAGS for debugging
- MustExist = No
- FeatureCFLAGS = -g
- PlatformFeature = libgif
- Description = Uncompressed GIF Library
- MustExist = Preffered
- FeatureCFLAGS = -DHAVE_LIBGIF
- FeatureLIBS = -lgif
- FeatureDepend = libgif-devel
- DependType = Header
- MustExist = Yes
- DependPath = gif_lib.h
- DependGrepString = DGifOpenFileName
- PlatformFeature = XF86VidMode
- Description = XF86 Video Mode extension
- MustExist = Preferred
- FeatureCFLAGS = -DHAVE_XF86_VIDMODE
- FeatureLIBS = -lXxf86vm
- FeatureLIB_DIR = -L/usr/X11R6/lib/
- FeatureDepend = xf86vidmode-lib
- DependType = Library
- MustExist = Yes
- DependPath = libXxf86vm.a
- DependGrepString = XF86VidModeQueryExtension
- FeatureDepend = xf86vidmode-devel
- DependType = Header
- MustExist = Yes
- DependPath = X11/extensions/xf86vmode.h
- DependGrepString = XF86VidModeQueryExtension
- PlatformFeature = Imlib
- Description = Image library
- MustExist = Preffered
- FeatureCFLAGS = `imlib-config --cflags` -DHAVE_IMLIB
- FeatureLIBS = `imlib-config --libs`
- FeatureDepend = Imlib-devel
- DependType = Program
- MustExist = Yes
- DependPath = imlib-config
- PlatformFeature = libgtk
- Description = GTK+ 1.2.x
- MustExist = Yes
- FeatureCFLAGS = `gtk-config --cflags`
- FeatureLIBS = `gtk-config --libs`
- FeatureLIB_DIR = -L/usr/X11R6/lib
- FeatureDepend = gtk-devel
- DependType = Program
- MustExist = Yes
- DependPath = gtk-config