1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/cad/sis/files/patch-ab
Ade Lovett 358b49a600 Support CC/CFLAGS/PREFIX/X11BASE/MAKE properly
Sort pkg/PLIST

PR:		20418
Submitted by:	Ports Fury
2000-09-16 18:40:55 +00:00

20 lines
455 B
Plaintext

--- xsis/Makefile.orig Fri Mar 18 05:11:04 1994
+++ xsis/Makefile Fri Aug 4 00:42:30 2000
@@ -40,11 +40,14 @@
LIBS = $(SIS)/lib/libsis.a
LIBS2 = -L$(X11)/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
+.if $(PORTOBJFORMAT) == "elf"
+LIBS2 +=-Wl,-rpath,$(X11)/lib
+.endif
# ---------------------------------------------------------------------------
-CC = cc
-CFLAGS = -O $(INCLUDE)
+CC ?= cc
+CFLAGS += $(INCLUDE)
LDFLAGS =
$(TARGET): $(OBJ) $(LIBS)