1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/misc/xpns/files/patch-aa
1999-01-05 08:13:27 +00:00

32 lines
778 B
Plaintext

--- makefile.orig Wed Jul 14 06:05:14 1993
+++ 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
-
-L = -L/usr/local/X11R5/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
+O = -O2
+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
#------------------------------------------
-B = gcc-2.3.3 $O -o
-CC = gcc-2.3.3 $O $I
+B = gcc $O -o
+CC = gcc $O $I
#------------------------------------------
# FUNKTIONEN DIR