freebsd-ports/sysutils/gpart/files/patch-make.defs
Dmitry Marakasov 155f07275f - Re-add sysutils/gpart, another useful port removed with no reason
A port of a tool which tries to guess the primary partition table of a PC-type
hard disk in case the primary partition table in sector 0 is damaged, incorrect
or deleted. The guessed table can be written to a file or device.

Supported (guessable) filesystem or partition types: DOS/Windows FAT, Linux
ext2 and swap, OS/2 HPFS, Windows NTFS, FreeBSD and Solaris/x86 disklabels,
Minix FS, Reiser FS

WWW: http://brzitwa.de/mb/gpart/index.html (outdated)
2013-09-14 10:54:57 +00:00

16 lines
314 B
Text

--- ./make.defs.orig 2001-01-29 20:17:12.000000000 +0100
+++ ./make.defs 2011-03-17 01:15:54.000000000 +0100
@@ -1,10 +1,10 @@
#
#
#
-CC = gcc
-CFLAGS = -Wall -O2 -pedantic
+CC ?= gcc
+CFLAGS += -Wall -pedantic
LDFLAGS =
-MAKEDEP = gcc -M
+MAKEDEP = $(CC) -M
INSTALL = install
RM = rm -f
#