1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/sysutils/dd_rescue/files/patch-Makefile
Pav Lucistnik bac5994991 - Update to 1.22
PR:		ports/150644
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu>
Approved by:	maintainer timeout (nobutaka; 1 month)
2010-10-29 13:37:26 +00:00

35 lines
840 B
Plaintext

--- Makefile-bla 2010-09-17 14:07:46.000000000 +0200
+++ Makefile 2010-09-17 14:07:58.000000000 +0200
@@ -6,9 +6,6 @@
DESTDIR =
-CC = gcc
-RPM_OPT_FLAGS = -O2 -Wall -g
-CFLAGS = $(RPM_OPT_FLAGS) $(EXTRA_CFLAGS)
INSTALL = install
INSTALLFLAGS = -s
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)
libfalloc: dd_rescue.c
@@ -43,7 +34,7 @@
$(CC) $(CFLAGS) -DHAVE_FALLOCATE=1 $(DEFINES) $< -o dd_rescue
dd_rescue: dd_rescue.c
- $(CC) $(CFLAGS) $(DEFINES) $< $(OUT)
+ $(CC) $(CFLAGS) $(DEFINES) $(LIBS) $< $(OUT)
strip: dd_rescue
strip -S $<