summaryrefslogtreecommitdiff
path: root/misc/xpns/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xpns/files/patch-makefile')
-rw-r--r--misc/xpns/files/patch-makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/misc/xpns/files/patch-makefile b/misc/xpns/files/patch-makefile
new file mode 100644
index 000000000000..b59bf9c99252
--- /dev/null
+++ b/misc/xpns/files/patch-makefile
@@ -0,0 +1,28 @@
+--- makefile.orig Wed Jul 14 20:05:14 1993
++++ makefile Fri Aug 11 02:02:40 2000
+@@ -7,19 +7,19 @@
+ #I = -I/usr/include
+
+ #------------------------------------------
+-# OPTIONEN SUN
++# OPTIONEN FreeBSD
+ #------------------------------------------
+ O = -O
+-I = -I/usr/local/X11R5/include
+-
+-L = -L/usr/local/X11R5/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
++I = -I$(LOCALBASE)/include
+
++L = -L$(LOCALBASE)/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
++L +=-Wl,-rpath,$(LOCALBASE)/lib
+
+ #------------------------------------------
+ # COMPILER UND LINKER
+ #------------------------------------------
+-B = gcc-2.3.3 $O -o
+-CC = gcc-2.3.3 $O $I
++B = $(CC) -o
++CC += $I
+
+ #------------------------------------------
+ # FUNKTIONEN DIR