summaryrefslogtreecommitdiff
path: root/sysutils/disktool/files
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-07-23 17:00:33 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-07-23 17:00:33 +0000
commitc1ce862de29d4734a257ed077fe175450500cead (patch)
tree787d21f9547efd88cd5ee198fce897518b4d0ed4 /sysutils/disktool/files
parent007a61529b4b2088ac2933fbf23cc87a70b73c23 (diff)
Notes
Diffstat (limited to 'sysutils/disktool/files')
-rw-r--r--sysutils/disktool/files/patch-Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/disktool/files/patch-Makefile b/sysutils/disktool/files/patch-Makefile
new file mode 100644
index 000000000000..260bdd6b49c7
--- /dev/null
+++ b/sysutils/disktool/files/patch-Makefile
@@ -0,0 +1,34 @@
+--- Makefile.orig Sat Apr 18 00:27:18 1998
++++ Makefile Wed Jul 23 18:52:34 2003
+@@ -31,14 +31,15 @@
+ #
+ # FreeBSD(tested on 2.2.1) uncomment the next 2 lines
+ #
+-#OPENWINHOME = /usr/X11R6
+-#AUX_CFLAGS = -DFBSD
++PREFIX = %%PREFIX%%
++OPENWINHOME = $(PREFIX)
++AUX_CFLAGS = -DFBSD
+ #
+ # End of Configurable stuff
+ #
+ # =============================================
+ #
+-CC = gcc
++CC?= cc
+ #
+ OBJS = disktool.o
+
+@@ -46,10 +47,10 @@
+
+ INCLUDE = -I${OPENWINHOME}/include ${XINCLUDES}
+
+-CFLAGS = ${INCLUDE} -c
++CFLAGS+= ${INCLUDE} -c
+
+ # Change -O to -g for debugging purposes
+-LDFLAGS = -pipe -O3 -m486
++LDFLAGS?= -pipe -O3
+
+
+ XVIEW_LIBS = -L${OPENWINHOME}/lib \