summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-10-04 22:36:34 +0000
committersteve <steve@FreeBSD.org>1998-10-04 22:36:34 +0000
commitb18c33869c18e4240a367f8d74f410d924089d9b (patch)
tree0a046b9704cf4aef428b6425a0b1b8b762bb18ff /misc
parentb2fabcdaaa542129e1249f802d314eee1d60eb43 (diff)
downloadFreeBSD-ports-b18c33869c18e4240a367f8d74f410d924089d9b.zip
FreeBSD-ports-b18c33869c18e4240a367f8d74f410d924089d9b.tar.gz
Fix build for ELF.
Diffstat (limited to 'misc')
-rw-r--r--misc/xpns/files/patch-aa15
1 files changed, 9 insertions, 6 deletions
diff --git a/misc/xpns/files/patch-aa b/misc/xpns/files/patch-aa
index aa8b025..2b045ef 100644
--- a/misc/xpns/files/patch-aa
+++ b/misc/xpns/files/patch-aa
@@ -1,6 +1,6 @@
--- makefile.orig Wed Jul 14 06:05:14 1993
-+++ makefile Tue Apr 8 11:49:27 1997
-@@ -7,19 +7,19 @@
++++ makefile Sun Oct 4 14:19:13 1998
+@@ -7,19 +7,21 @@
#I = -I/usr/include
#------------------------------------------
@@ -9,12 +9,15 @@
#------------------------------------------
-O = -O
-I = -I/usr/local/X11R5/include
-+O = -O2 -m486
-+I = -I/usr/X11R6/include
-
+-
-L = -L/usr/local/X11R5/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
-+L = -L/usr/X11R6/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
++O = -O2 -m486
++I = -I$(X11BASE)/include
++L = -L$(X11BASE)/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
++.if $(PORTOBJFORMAT) == "elf"
++L +=-Wl,-rpath,$(X11BASE)/lib
++.endif
#------------------------------------------
# COMPILER UND LINKER
OpenPOWER on IntegriCloud