freebsd-ports/security/openfwtk/files/patch-configs-FreeBSD
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

64 lines
1.7 KiB
Text

--- configs/FreeBSD.orig 2007-10-12 02:53:28.000000000 +0400
+++ configs/FreeBSD 2007-10-12 03:03:56.000000000 +0400
@@ -2,25 +2,25 @@
CC = cc
CP = cp
MAKE = make
-PREFIX = /usr/firewall
+PREFIX = /usr/local
# Defines path where to find ncurses libraries
-NCURSES_LIBDIR=/usr/local/lib
+NCURSES_LIBDIR=/usr/lib
# Defines path where to find ncurses headers
-NCURSES_INCDIR=/usr/local/include/ncurses
+NCURSES_INCDIR=/usr/include/ncurses
# Defines path where to find SSL libraries
-SSL_LIBDIR=/usr/local/ssl/lib
+SSL_LIBDIR=/usr/lib
# Defines path where to find SSL headers
-SSL_INCDIR=/usr/local/ssl/include
+SSL_INCDIR=/usr/include/openssl
# Defines path where to find GNU Magic/File libraries
-MAGIC_LIBDIR=/usr/local/lib
+MAGIC_LIBDIR=/usr/lib
# Defines path where to find GNU Magic/File headers
-MAGIC_INCDIR=/usr/local/include
+MAGIC_INCDIR=/usr/include
# Defines path where to find Milter client library (libci_milter)
MILTER_LIBDIR=../../libci_milter
@@ -29,7 +29,7 @@
MILTER_INCDIR=../../libci_milter/include
# Defines path where to find berkeley bd headers
-DBM_INCDIR=/usr/include/gdbm
+DBM_INCDIR=/usr/include
# Defines for your operating system
DEFINES=-DPREFIX=\"$(PREFIX)\"
@@ -70,16 +70,16 @@
FWTKSRCDIR=$(PREFIX)/src/fwtk
# Location of X libraries for X-gw
-XLIBDIR=/usr/X11R6/lib
+XLIBDIR=${LOCALBASE}lib/X11
# X Libraries
XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE -lXext
# Location of X include files
-XINCLUDE=/usr/X11R6/include
+XINCLUDE=${LOCALBASE}/include/X11
# IPFilter location
#IPFILTER=$(PREFIX)/development/src/ipfilter/ip_fil3.2.9
# authsrv agent communication socket
-AUTHSRV_SOCK_PATH=$(PREFIX)/var/
+AUTHSRV_SOCK_PATH=/var/run/openfwtk