diff options
Diffstat (limited to 'net-misc/sslh/files/sslh-1.18-version-deps.patch')
-rw-r--r-- | net-misc/sslh/files/sslh-1.18-version-deps.patch | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/net-misc/sslh/files/sslh-1.18-version-deps.patch b/net-misc/sslh/files/sslh-1.18-version-deps.patch index aa028715513d..c6108ffb1e9c 100644 --- a/net-misc/sslh/files/sslh-1.18-version-deps.patch +++ b/net-misc/sslh/files/sslh-1.18-version-deps.patch @@ -1,13 +1,15 @@ -make sure the files using version.h depend on it being generated first +Make sure the files using version.h depend on it being generated first. + +Gentoo-bug: 594586 --- a/Makefile +++ b/Makefile -@@ -78,7 +78,7 @@ - systemd-sslh-generator: systemd-sslh-generator.o - $(CC) $(CFLAGS) $(LDFLAGS) -o systemd-sslh-generator systemd-sslh-generator.o -lconfig +@@ -59,7 +59,7 @@ + + all: sslh $(MAN) echosrv --echosrv: $(OBJS) echosrv.o -+echosrv: version.h $(OBJS) echosrv.o - $(CC) $(CFLAGS) $(LDFLAGS) -o echosrv echosrv.o probe.o common.o tls.o $(LIBS) +-.c.o: *.h ++%.o: %.c *.h version.h + $(CC) $(CFLAGS) $(CPPFLAGS) -c $< - $(MAN): sslh.pod Makefile + version.h: |