opnsense-ports/sysutils/lxsplit/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

34 lines
737 B
Text

--- 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
-ifeq ($(CC),)
-CC := gcc
-endif
INCPATH := .
-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 +=
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