1998-09-27 04:00:30 +02:00
|
|
|
--- libsx_defs.orig Mon Feb 28 10:04:26 1994
|
|
|
|
+++ libsx_defs Sat Sep 26 20:55:27 1998
|
|
|
|
@@ -9,7 +9,7 @@
|
|
|
|
# you have it). Using cc seems to also work on the RS/6000 (though
|
|
|
|
# you may need the -xansi or -ansi flag).
|
|
|
|
#CC = gcc
|
|
|
|
-CC = cc
|
|
|
|
+#CC = cc
|
|
|
|
|
|
|
|
|
|
|
|
# Using gcc it's nice to be real strict and compile with -Wall, for
|
|
|
|
@@ -46,15 +46,15 @@
|
|
|
|
# If you're daring, and you have OpenGL, try:
|
|
|
|
# CFLAGS = -g -D_POSIX_SOURCE -DOPENGL_SUPPORT
|
|
|
|
#
|
|
|
|
-CFLAGS = -g -D_POSIX_SOURCE
|
- 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 19:56:05 +02:00
|
|
|
+CFLAGS += -O -D_POSIX_SOURCE -I$(LOCALBASE)/include
|
1998-09-27 04:00:30 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# if you are on a System V (like the SGI) machine, just define RANLIB
|
|
|
|
# to be something innocuous like `echo'. On a Sun or other BSD machine
|
|
|
|
# (like a DECstation, AIX) we need to run the ranlib program.
|
|
|
|
#
|
|
|
|
-#RANLIB=ranlib
|
|
|
|
-RANLIB=echo
|
|
|
|
+RANLIB=ranlib
|
|
|
|
+#RANLIB=echo
|
|
|
|
|
|
|
|
#
|
|
|
|
# libraries we need to link with...
|
2007-01-30 11:25:34 +01:00
|
|
|
@@ -83,5 +83,5 @@
|
1998-09-27 04:00:30 +02:00
|
|
|
#
|
|
|
|
LIBSX = ../src/libsx.a
|
|
|
|
#LIBS = $(LIBSX) -lXaw -lXmu -lXt -lX11
|
|
|
|
-LIBS = $(LIBSX) -lXaw -lXmu -lXt -lX11
|
|
|
|
-
|
- 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 19:56:05 +02:00
|
|
|
+LIBS = $(LIBSX) -lXaw3d -lXmu -lXt -lX11 -lm -lXext -L$(LOCALBASE)/lib
|
|
|
|
+LIBS+= -Wl,-rpath,${LOCALBASE}/lib
|