freebsd-ports/sysutils/phantom/files/patch-Makefile
Renato Botelho 5c869eee44 Add phantom 1.2, phantomblock generator (converts existing files to
sparse files).

PR:		ports/92156
Submitted by:	Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
2006-01-25 17:04:24 +00:00

22 lines
491 B
Text

--- Makefile.orig Fri Jul 8 05:30:27 2005
+++ Makefile Wed Jan 25 11:27:25 2006
@@ -1,8 +1,8 @@
VERSION=1.2
DEBUG=#-g
-LDFLAGS=$(DEBUG)
-CFLAGS=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
+LDFLAGS+=$(DEBUG)
+CFLAGS+=-DVERSION=\"$(VERSION)\" -DMADV_SEQUENTIAL $(DEBUG)
OBJS=phantom.o
@@ -12,7 +12,7 @@
$(CC) -Wall -W $(OBJS) $(LDFLAGS) -o phantom
install: phantom
- cp phantom $(DESTDIR)/usr/bin
+ ${INSTALL} -m 755 phantom ${PREFIX}/bin
clean:
rm -f $(OBJS) core phantom