summaryrefslogtreecommitdiff
path: root/sysutils/lxsplit/files/patch-Makefile
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2008-04-30 16:48:47 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2008-04-30 16:48:47 +0000
commit44dc845de8a70abeb0859a47099c477433de76e2 (patch)
tree60e5e677b5f46d8ff91c03f0198baa31349769b4 /sysutils/lxsplit/files/patch-Makefile
parent- Remove www/firefox15 support (diff)
- Update to 0.2.2.
- Remove manual strip in post-install, because the INSTALL_PROGRAM will strip it by default. That way it will respecting my configure for I can install non-strip as 100% of my installed ports have been compiled with debug symbols. - Update the WWW. Approved by: hideo <hideo@lastamericanempire.com> (maintainer)
Diffstat (limited to 'sysutils/lxsplit/files/patch-Makefile')
-rw-r--r--sysutils/lxsplit/files/patch-Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/lxsplit/files/patch-Makefile b/sysutils/lxsplit/files/patch-Makefile
new file mode 100644
index 000000000000..e19ee0c1b7c0
--- /dev/null
+++ b/sysutils/lxsplit/files/patch-Makefile
@@ -0,0 +1,41 @@
+--- Makefile.orig 2008-04-28 16:55:08.000000000 -0500
++++ Makefile 2008-04-28 16:56:07.000000000 -0500
+@@ -9,13 +9,10 @@
+ ####### Compiler, tools and options
+
+ CC ?= gcc
+-ifeq ($(CC),)
+-CC := gcc
+-endif
+ INCPATH := .
+-CFLAGS := -Wall -W -O2 -DNO_DEBUG
++CFLAGS += -Wall -W
+ LDLIBS :=
+-LDFLAGS :=
++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)
+-# these flags work for linux / glibc.
+-# change for others, if necessary.
+ FILESIZE_DEFS:= -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+-else
+-FILESIZE_DEFS:=
+-endif
+
+ ####### 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
+