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

62 lines
1.5 KiB
Plaintext
Raw Normal View History

1996-11-15 13:28:09 +00:00
--- Makefile.orig Wed Oct 2 11:28:18 1996
+++ Makefile Thu Nov 7 15:26:58 1996
@@ -64,12 +64,12 @@
# You must use an ANSI C compiler.
#
-CC=ucbcc
-CC=apcc -DANSI
-CC=gcc -W -Wunused -Wuninitialized -Wshadow -DANSI
1996-11-15 13:28:09 +00:00
-CC=gcc -DANSI
-CC=cc
-CC=cc -DANSI -fullwarn
+#CC=ucbcc
+#CC=apcc -DANSI
+#CC=gcc -W -Wunused -Wuninitialized -Wshadow -DANSI
1996-11-15 13:28:09 +00:00
+#CC=gcc -DANSI
+#CC=cc
1996-11-15 13:28:09 +00:00
+#CC=cc -DANSI -fullwarn
##
1996-11-15 13:28:09 +00:00
@@ -89,10 +89,10 @@
#
#CFLAGS=-g +Ns4000
-CFLAGS=-O
-CFLAGS=-g -O -I/usr/openwin/include -DSUNOS
-CFLAGS=-g -O -I/usr/openwin/include
-CFLAGS=-g
1996-11-15 13:28:09 +00:00
+CFLAGS+=-O -I/usr/X11R6/include
+#CFLAGS=-g -O -I/usr/openwin/include -DSUNOS
+#CFLAGS=-g -O -I/usr/openwin/include
+#CFLAGS=-g
##
1996-11-15 13:28:09 +00:00
@@ -117,9 +117,9 @@
#
1996-11-15 13:28:09 +00:00
# SOLARIS: To link to openwin libraries, add -L/usr/openwin/lib
#
-LIBS=-L/usr/openwin/lib -lXaw -lXmu -lXext -lXt -lX11 -lm /usr/lib/debug/malloc.o
-LIBS=-L/usr/openwin/lib -lXaw -lXmu -lXext -lXt -lX11 -lm
-LIBS=-lXaw -lXmu -lXext -lXt -lX11 -lm
+#LIBS=-L/usr/openwin/lib -lXaw -lXmu -lXext -lXt -lX11 -lm /usr/lib/debug/malloc.o
+#LIBS=-L/usr/openwin/lib -lXaw -lXmu -lXext -lXt -lX11 -lm
+LIBS=-L/usr/X11R6/lib -lXaw -lXmu -lXext -lXt -lX11 -lm
#### ===========================
1996-11-15 13:28:09 +00:00
@@ -180,6 +180,11 @@
*.[ch] *.xbm xmorph.man warp.param
all: xmorph
1996-11-15 13:28:09 +00:00
+
+install:
+ install -cs xmorph ${PREFIX}/bin
+ install -c -m 644 xmorph.man ${PREFIX}/man/man1/xmorph.1
+ gzip -9nf ${PREFIX}/man/man1/xmorph.1
1996-11-15 13:28:09 +00:00
xmorph: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)