summaryrefslogtreecommitdiff
path: root/misc/xpns/files/patch-makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 01:16:45 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 01:16:45 +0000
commit0d36ec3c7937d274f501258ddf1798b05e4f33c2 (patch)
treeb35c705d3b36af5129c9a15430528661add3b428 /misc/xpns/files/patch-makefile
parentStage net-mgmt/routers2-extras and cleanup (diff)
Rename misc/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363282
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