aboutsummaryrefslogtreecommitdiffstats
path: root/community/dcron/ldflags.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-03-20 16:10:29 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-03-20 16:10:40 +0100
commite48d7b0222b299462331ff28488119dd15d2dc0a (patch)
tree07272f6d64385ff0eaf0e72c83d1ac5c80ff628f /community/dcron/ldflags.patch
parentdefc1969c09990b29ce46261a86cd5c10db9d950 (diff)
downloadaports-e48d7b0222b299462331ff28488119dd15d2dc0a.tar.bz2
aports-e48d7b0222b299462331ff28488119dd15d2dc0a.tar.xz
community/dcron: moved from testing
Diffstat (limited to 'community/dcron/ldflags.patch')
-rw-r--r--community/dcron/ldflags.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/dcron/ldflags.patch b/community/dcron/ldflags.patch
new file mode 100644
index 0000000000..7fa2d8d9d0
--- /dev/null
+++ b/community/dcron/ldflags.patch
@@ -0,0 +1,38 @@
+From 8a292168e584c50808b80df3577a7d89fa32db26 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Mon, 16 May 2011 16:24:20 -0400
+Subject: [PATCH] drop LDFLAGS set, and restore CFLAGS linking
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ Makefile | 5 ++---
+ 1 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 1938e05..8309ad6 100644
+--- a/Makefile
++++ b/Makefile
+@@ -32,7 +32,6 @@ TABSRCS = crontab.c chuser.c
+ TABOBJS = crontab.o chuser.o
+ PROTOS = protos.h
+ LIBS =
+-LDFLAGS =
+ DEFS = -DVERSION='"$(VERSION)"' \
+ -DSCRONTABS='"$(SCRONTABS)"' -DCRONTABS='"$(CRONTABS)"' \
+ -DCRONSTAMPS='"$(CRONSTAMPS)"' -DLOG_IDENT='"$(LOG_IDENT)"' \
+@@ -54,10 +53,10 @@ protos.h: $(SRCS) $(TABSRCS)
+ fgrep -h Prototype $(SRCS) $(TABSRCS) > protos.h
+
+ crond: $(OBJS)
+- $(CC) $(LDFLAGS) $^ $(LIBS) -o crond
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o crond
+
+ crontab: $(TABOBJS)
+- $(CC) $(LDFLAGS) $^ -o crontab
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o crontab
+
+ %.o: %.c defs.h $(PROTOS)
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c $(DEFS) $< -o $@
+--
+1.7.5.rc3
+