1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/graphics/isreal/files/patch-Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

27 lines
752 B
Plaintext

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