summaryrefslogtreecommitdiffstats
path: root/extra/sysklogd/sysklogd-1.5-build.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-23 09:24:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-23 09:24:37 +0000
commit2af5bc25eb3de62b4eddc498c0f45c8f167003e2 (patch)
treef3404792dc0fce1df856638d67ef9761834743a2 /extra/sysklogd/sysklogd-1.5-build.patch
parenta0f50b6368a30d0f36bc2d75dabfa3fe46568bdb (diff)
extra/sysklogd: new aport
System and kernel log daemons http://www.infodrom.org/projects/sysklogd/
Diffstat (limited to 'extra/sysklogd/sysklogd-1.5-build.patch')
-rw-r--r--extra/sysklogd/sysklogd-1.5-build.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/sysklogd/sysklogd-1.5-build.patch b/extra/sysklogd/sysklogd-1.5-build.patch
new file mode 100644
index 00000000000..6175cdfe783
--- /dev/null
+++ b/extra/sysklogd/sysklogd-1.5-build.patch
@@ -0,0 +1,20 @@
+respect env CC/CFLAGS/CPPFLAGS/LDFLAGS
+
+--- a/Makefile
++++ b/Makefile
+@@ -17,14 +17,12 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+-CC= gcc
+ #SKFLAGS= -g -DSYSV -Wall
+ #LDFLAGS= -g
+-SKFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce
++SKFLAGS= $(CFLAGS) $(CPPFLAGS) -DSYSV -Wall -fno-strength-reduce
+ # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+ # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
+ # $(shell getconf LFS_SKFLAGS)
+-LDFLAGS= -s
+
+ # Look where your install program is.
+ INSTALL = /usr/bin/install