mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
net-misc/sslh: new patch to solve Makefile dependencies issue
Gentoo-bug: 594586 Package-Manager: portage-2.3.1
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
make sure the files using version.h depend on it being generated first
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
all: sslh $(MAN) echosrv
|
||||
|
||||
-.c.o: *.h
|
||||
+.c.o: *.h version.h
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
|
||||
|
||||
version.h:
|
||||
@@ -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 @@
|
||||
|
||||
-echosrv: $(OBJS) echosrv.o
|
||||
+echosrv: version.h $(OBJS) echosrv.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o echosrv echosrv.o probe.o common.o tls.o $(LIBS)
|
||||
all: sslh $(MAN) echosrv
|
||||
|
||||
$(MAN): sslh.pod Makefile
|
||||
-.c.o: *.h
|
||||
+%.o: %.c *.h version.h
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
|
||||
|
||||
version.h:
|
||||
|
||||
@@ -28,7 +28,6 @@ RESTRICT="test"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.17-version-deps.patch"
|
||||
"${FILESDIR}/${PN}-1.18-version-deps.patch"
|
||||
"${FILESDIR}/${PN}-1.18-systemd-generator.patch"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user