1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/graphics/xmorph/files/patch-aa

63 lines
1.4 KiB
Plaintext
Raw Normal View History

1998-10-05 03:07:12 +00:00
--- Makefile.orig Thu Sep 11 20:37:55 1997
+++ Makefile Sat Oct 3 23:33:33 1998
1998-05-07 16:18:55 +00:00
@@ -132,7 +132,7 @@
#
1998-05-07 16:18:55 +00:00
#INCLUDE=-I/usr/local/include -I/usr/openwin/include
-INCLUDE=-I/usr/local/include
1998-10-05 03:07:12 +00:00
+INCLUDE=-I/usr/local/include -I$(X11BASE)/include
1998-05-07 16:18:55 +00:00
@@ -167,7 +167,7 @@
#
1998-05-07 16:18:55 +00:00
#DEBUG=-O
-DEBUG=-O -g -Wall -DDEBUG
+#DEBUG=-O -g -Wall -DDEBUG
#DEBUG=-g3 -O -fullwarn -woff 1233 -DVERBOSE -DDEBUG
@@ -225,7 +225,7 @@
#CFLAGS=$(DEBUG) $(DEFINES) $(INCLUDE) -DSUNOS
-CFLAGS=$(DEBUG) $(DEFINES) $(INCLUDE)
+CFLAGS+=$(DEBUG) $(DEFINES) $(INCLUDE)
1998-10-05 03:07:12 +00:00
@@ -248,7 +248,10 @@
1998-05-07 16:18:55 +00:00
# The cvt library is available in the goldengate.sw.goldengate package
#XLIBS=-L/usr/openwin/lib -lXaw -lXmu -lXext -lXt -lX11
-XLIBS=-L/usr/X11/lib -lXaw -lXmu -lXext -lXt -lX11
1998-10-05 03:07:12 +00:00
+XLIBS=-L$(X11BASE)/lib -lXaw -lXmu -lXext -lXt -lX11
+.if $(PORTOBJFORMAT) == "elf"
+XLIBS+=-Wl,-rpath,$(X11BASE)/lib
+.endif
1998-05-07 16:18:55 +00:00
#XLIBS= -lXaw -lXmu -lXext -lXt -lcvt -lX11
1998-10-05 03:07:12 +00:00
@@ -289,7 +292,7 @@
1998-05-07 16:18:55 +00:00
#LIBS = -lm
#LIBS = $(XLIBS) -lm
-LIBS = $(XLIBS) -lm -ldl
+LIBS = $(XLIBS) -lm
#LIBS = $(XLIBS) -lm /usr/lib/debug/malloc.o
#LIBS = $(XLIBS) -lm -lmalloc
1998-10-05 03:07:12 +00:00
@@ -370,6 +373,11 @@
1998-05-07 16:18:55 +00:00
#all: morph.$(SHLIB_EXT)
all: xmorph xmorph.man
1998-10-05 03:07:12 +00:00
+install:
+ install -cs xmorph ${PREFIX}/bin
1998-05-07 16:18:55 +00:00
+ install -c -m 644 xmorph ${PREFIX}/man/man1/xmorph.1
+ gzip -9nf ${PREFIX}/man/man1/xmorph.1
1998-10-05 03:07:12 +00:00
+
1996-11-15 13:28:09 +00:00
xmorph: $(OBJS)
1998-05-07 16:18:55 +00:00
@echo ""
1998-10-05 03:07:12 +00:00
@echo ""