forked from Lainports/freebsd-ports
- 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)
83 lines
2.1 KiB
Text
83 lines
2.1 KiB
Text
--- Makefile.config.orig Tue Mar 4 22:17:46 1997
|
|
+++ Makefile.config Sun May 21 18:01:05 2006
|
|
@@ -24,13 +24,15 @@
|
|
|
|
# Defines for your operating system
|
|
#
|
|
-DEFINES=
|
|
+.if defined(WITH_SKEY)
|
|
+DEFINES= -D_SKEY_INTERNAL
|
|
+.endif
|
|
#DEFINES=-DSYSV -DSOLARIS
|
|
|
|
# Options for your compiler (eg, "-g" for debugging, "-O" for
|
|
# optimizing, or "-g -O" for both under GCC)
|
|
#COPT= -g -traditional $(DEFINES)
|
|
-COPT= -g $(DEFINES)
|
|
+COPT= $(DEFINES)
|
|
#COPT= -O $(DEFINES)
|
|
|
|
# Version of "make" you want to use
|
|
@@ -44,16 +46,20 @@
|
|
|
|
|
|
# Destination directory for installation of binaries
|
|
-DEST= /usr/local/etc
|
|
+DEST= $(PREFIX)/libexec
|
|
|
|
|
|
# Destination directory for installation of man pages
|
|
-#DESTMAN= $(DEST)/../man
|
|
+DESTMAN= $(DEST)/../man
|
|
|
|
|
|
# Names of any auxiliary libraries your system may require (e.g., -lsocket)
|
|
# If you want to link against a resolver library, specify it here.
|
|
-AUXLIB=
|
|
+.if defined(WITH_SKEY)
|
|
+AUXLIB= -lcrypt -lskey -lmd
|
|
+.else
|
|
+AUXLIB= -lcrypt -lmd
|
|
+.endif
|
|
#AUXLIB= -lsocket
|
|
#AUXLIB= -lresolv
|
|
# For Solaris:
|
|
@@ -72,23 +78,23 @@
|
|
# or -Bstatic for static binaries under SunOS 4.1.x)
|
|
#LDFL= -Bstatic
|
|
#LDFL=
|
|
-LDFL= -g
|
|
+#LDFL= -g
|
|
# Flags for X gateway link - usually the same as LDFL
|
|
XLDFL=$(LDFL)
|
|
|
|
|
|
# Location of the fwtk sources [For #include by any external tools needing it]
|
|
-FWTKSRCDIR=/u/b/mjr/firewall/fwtk
|
|
+FWTKSRCDIR=/FBSD/pkg/Fix/fwtk/work/fwtk
|
|
#FWTKSRCDIR=/usr/local/src/fwtk
|
|
|
|
|
|
# Location of X libraries for X-gw
|
|
-XLIBDIR=/usr/X11/lib
|
|
+XLIBDIR=$(LOCALBASE)/lib
|
|
#XLIBDIR=/usr/local/X11R5/lib
|
|
|
|
# X Libraries
|
|
# For BSD:
|
|
-XLIBS= -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE -lipc
|
|
+XLIBS= -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE
|
|
#XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11
|
|
# for Linux:
|
|
#XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lc
|
|
@@ -98,8 +104,8 @@
|
|
#XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11
|
|
|
|
# Location of X include files
|
|
-XINCLUDE=/usr/X11/include
|
|
+XINCLUDE=$(LOCALBASE)/include
|
|
#XINCLUDE=/usr/local/X11R5/include
|
|
|
|
# Objects to include in libfwall for SYSV
|
|
-SYSVOBJ= signal.o
|
|
+#SYSVOBJ= signal.o
|