1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/misc/xpns/files/patch-aa

32 lines
778 B
Plaintext
Raw Normal View History

--- makefile.orig Wed Jul 14 06:05:14 1993
1998-10-04 22:36:34 +00:00
+++ makefile Sun Oct 4 14:19:13 1998
@@ -7,19 +7,21 @@
#I = -I/usr/include
#------------------------------------------
-# OPTIONEN SUN
+# OPTIONEN FreeBSD
#------------------------------------------
-O = -O
-I = -I/usr/local/X11R5/include
1998-10-04 22:36:34 +00:00
-
-L = -L/usr/local/X11R5/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
1999-01-05 08:13:27 +00:00
+O = -O2
1998-10-04 22:36:34 +00:00
+I = -I$(X11BASE)/include
1998-10-04 22:36:34 +00:00
+L = -L$(X11BASE)/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
+.if $(PORTOBJFORMAT) == "elf"
+L +=-Wl,-rpath,$(X11BASE)/lib
+.endif
#------------------------------------------
# COMPILER UND LINKER
#------------------------------------------
-B = gcc-2.3.3 $O -o
-CC = gcc-2.3.3 $O $I
+B = gcc $O -o
+CC = gcc $O $I
#------------------------------------------
# FUNKTIONEN DIR