- Update to 1.22

PR:		ports/150644
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu>
Approved by:	maintainer timeout (nobutaka; 1 month)
This commit is contained in:
Pav Lucistnik 2010-10-29 13:37:26 +00:00
parent c1ff0493c6
commit bac5994991
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263743
3 changed files with 26 additions and 13 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= dd_rescue
PORTVERSION= 1.14
PORTVERSION= 1.22
CATEGORIES= sysutils
MASTER_SITES= http://www.garloff.de/kurt/linux/ddrescue/

View File

@ -1,3 +1,3 @@
MD5 (dd_rescue-1.14.tar.gz) = 417d26eacb5fb7851487329542f225e8
SHA256 (dd_rescue-1.14.tar.gz) = 165fb24dc1e8087b34d474da9ad93a8ee793c222573ab7e1381aaca827836fad
SIZE (dd_rescue-1.14.tar.gz) = 17754
MD5 (dd_rescue-1.22.tar.gz) = 072056134e12a982f82bf3bc3ebf4a45
SHA256 (dd_rescue-1.22.tar.gz) = 97b21c23d22b5bcf4d5df99f2027a31f19cdcdf8e3354bab664db36219d11b58
SIZE (dd_rescue-1.22.tar.gz) = 30161

View File

@ -1,5 +1,5 @@
--- Makefile.orig Fri Oct 22 16:38:03 2004
+++ Makefile Sat Jul 2 23:40:24 2005
--- Makefile-bla 2010-09-17 14:07:46.000000000 +0200
+++ Makefile 2010-09-17 14:07:58.000000000 +0200
@@ -6,9 +6,6 @@
DESTDIR =
@ -7,15 +7,28 @@
-CC = gcc
-RPM_OPT_FLAGS = -O2 -Wall -g
-CFLAGS = $(RPM_OPT_FLAGS) $(EXTRA_CFLAGS)
DEFINES = -DVERSION=\"$(VERSION)\"
INSTALL = install
INSTALLFLAGS = -s
@@ -25,7 +22,7 @@
prefix = $(DESTDIR)/usr
@@ -25,12 +22,6 @@
DEFINES = -DVERSION=\"$(VERSION)\" -D__COMPILER__="\"$(COMPILER)\""
OUT = -o $@
-ifeq ($(CC),wcl386)
- CFLAGS = "-ox -wx $(EXTRA_CFLAGS)"
- DEFINES = -dMISS_STRSIGNAL -dMISS_PREAD -dVERSION=\"$(VERSION)\" -d__COMPILER__="\"$(COMPILER)\""
- OUT = ""
-endif
-
default: $(TARGETS)
dd_rescue: dd_rescue.c
- $(CC) $(CFLAGS) $(DEFINES) $< -o $@
+ $(CC) $(CFLAGS) $(DEFINES) $(LIBS) $< -o $@
libfalloc: dd_rescue.c
@@ -43,7 +34,7 @@
$(CC) $(CFLAGS) -DHAVE_FALLOCATE=1 $(DEFINES) $< -o dd_rescue
clean:
rm -f $(TARGETS) $(OBJECTS) core
dd_rescue: dd_rescue.c
- $(CC) $(CFLAGS) $(DEFINES) $< $(OUT)
+ $(CC) $(CFLAGS) $(DEFINES) $(LIBS) $< $(OUT)
strip: dd_rescue
strip -S $<