1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/graphics/isreal/files/patch-Makefile

27 lines
752 B
Plaintext
Raw Normal View History

--- Makefile.orig Wed Jan 5 22:39:10 2000
+++ Makefile Mon Nov 27 00:23:30 2006
@@ -1,16 +1,17 @@
#
# $Id: Makefile,v 1.7 2000/01/05 21:39:10 aland Exp $
#
-LIBS = -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext \
- -ljpeg -lpng -ltiff -lz -lgif -lm -lImlib
-CFLAGS = -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align \
- -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes \
- -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
+LIBS = -L$(LOCALBASE)/lib -L/usr/local/lib -lX11 -lXext \
+ -ljpeg -lpng -ltiff -lz -lungif -lm -lImlib
+
+CFLAGS += -I$(LOCALBASE)/include
VERSION=2.0
+all: isreal
+
isreal: isreal.o
- $(CC) $^ $(LIBS) -o $@
+ $(CC) isreal.o $(LIBS) -o $@
clean:
@rm -f *~ *.o isreal