1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix build for ELF.

This commit is contained in:
Steve Price 1998-10-04 22:36:34 +00:00
parent fb24635100
commit 0c9b213b58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13636

View File

@ -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