/[gentoo-x86]/sys-process/dcron/files/dcron-2.9-Makefile.patch
Gentoo

Contents of /sys-process/dcron/files/dcron-2.9-Makefile.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Mar 4 23:42:58 2005 UTC (9 years, 1 month ago) by ciaranm
Branch: MAIN
CVS Tags: HEAD
Move sys-apps/dcron -> sys-process/dcron
(Portage version: 2.0.51.19)

1 --- Makefile
2 +++ Makefile
3 @@ -2,7 +2,8 @@
4 #
5
6 CC = gcc
7 -CFLAGS = -O2 -Wall -Wstrict-prototypes
8 +CFLAGS += -Wall -Wstrict-prototypes
9 +LDFLAGS += -Wl,-z,now
10 LIB =
11 SRCS = main.c subs.c database.c job.c
12 OBJS = main.o subs.o database.o job.o
13 @@ -14,12 +15,10 @@
14 all: ${PROTOS} crond crontab
15
16 crond: ${OBJS}
17 - ${CC} ${CFLAGS} -o crond ${OBJS} ${LIB}
18 - strip crond
19 + ${CC} ${CFLAGS} -o crond ${OBJS} ${LIB} ${LDFLAGS}
20
21 crontab: ${D_OBJS}
22 - ${CC} ${CFLAGS} -o crontab ${D_OBJS}
23 - strip crontab
24 + ${CC} ${CFLAGS} -o crontab ${D_OBJS} ${LDFLAGS}
25
26 protos.h: ${SRCS} ${D_SRCS}
27 fgrep -h Prototype ${SRCS} ${D_SRCS} >protos.h

  ViewVC Help
Powered by ViewVC 1.1.20