freebsd-ports/sysutils/deltup/files/patch-Makefile
Rong-En Fan 12d695efde Add missing patch from PR:
- Build and install old versions of bzip2 which are needed by dtu's
- Patch for properly detecting and using GNU gzip (our gzip does not fit)
- Add missing dependency on misc/xdelta

PR:		ports/121517
Submitted by:	Yarodin <yarodin at gmail.com>
Approved by:	novel (maintainer, implicit)
2008-03-19 13:48:33 +00:00

22 lines
597 B
Text

--- Makefile.orig 2005-05-21 06:23:34.000000000 +0600
+++ Makefile 2008-03-10 20:39:02.000000000 +0500
@@ -1,16 +1,16 @@
DESTDIR=
-PREFIX=/usr
+PREFIX=%%PREFIX%%
BINDIR=$(PREFIX)/bin
CC = g++
-objfiles=bpatch.o bzip2.o file.o system.o tmpstore.o deltup.o
+objfiles=bpatch.o bzip2.o gzip.o file.o system.o tmpstore.o deltup.o
libs=-lstdc++ -lz -lbz2 -lssl
#edelta: edelta.cpp deltup
# gcc edelta.cpp ${CXXFLAGS} -o edelta
%.o : %.cpp
- ${CC} -c $< -o $@ -g #-Wall -pedantic #-DFIXED_FRAMERATE
+ ${CC} -c $< -o $@ ${CXXFLAGS} #-g #-Wall -pedantic #-DFIXED_FRAMERATE
all: deltup