aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lxsplit/files
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2008-11-16 21:33:06 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2008-11-16 21:33:06 +0000
commit06c81f1cce411fef7c554aa9d7b9b28d6c14855c (patch)
treedcb95d2b78c9a84499a533089556f1fff590bc03 /sysutils/lxsplit/files
parent1c25df72831735d9f93ce98db445b6917feda831 (diff)
Notes
Diffstat (limited to 'sysutils/lxsplit/files')
-rw-r--r--sysutils/lxsplit/files/patch-Makefile27
1 files changed, 10 insertions, 17 deletions
diff --git a/sysutils/lxsplit/files/patch-Makefile b/sysutils/lxsplit/files/patch-Makefile
index e19ee0c1b7c0..8a6d0e840547 100644
--- a/sysutils/lxsplit/files/patch-Makefile
+++ b/sysutils/lxsplit/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2008-04-28 16:55:08.000000000 -0500
-+++ Makefile 2008-04-28 16:56:07.000000000 -0500
-@@ -9,13 +9,10 @@
+--- Makefile.orig 2008-05-31 16:03:10.000000000 +0800
++++ Makefile 2008-11-17 02:23:39.000000000 +0800
+@@ -9,29 +9,14 @@
####### Compiler, tools and options
CC ?= gcc
@@ -8,16 +8,18 @@
-CC := gcc
-endif
INCPATH := .
--CFLAGS := -Wall -W -O2 -DNO_DEBUG
+-CFLAGS ?= -O2
+-CFLAGS := $(CFLAGS) -Wall -W -DNO_DEBUG
+CFLAGS += -Wall -W
LDLIBS :=
-LDFLAGS :=
+-
+-# 64 bit file offsets even on 32 bit
+-# platforms (LFS, if supported by the
+-# operating system): yes or no.
+-USE_LARGEFILE:= yes
+LDFLAGS +=
- # 64 bit file offsets even on 32 bit
- # platforms (LFS, if supported by the
-@@ -24,13 +21,7 @@
-
INSTALL_PATH := /usr/local/bin
-ifeq ($(USE_LARGEFILE),yes)
@@ -30,12 +32,3 @@
####### Files
-@@ -54,7 +45,7 @@
- $(CC) $(LDFLAGS) -o $(BINARY) $(OBJECTS) $(LDLIBS)
-
- uoff_t.h: mkuoff_t.c
-- $(CC) $(FILESIZE_DEFS) -o mkuoff_t mkuoff_t.c
-+ $(CC) $(CFLAGS) $(FILESIZE_DEFS) -o mkuoff_t mkuoff_t.c
- @echo "Generating uoff_t.h"
- @./mkuoff_t
-