freebsd-ports/cad/sis/files/patch-ab

20 lines
455 B
Plaintext
Raw Normal View History

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