mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-14 21:56:41 +01:00
1e89475715
Signed-off-by: Mario Preksavec <mario@slackware.hr>
32 lines
1.5 KiB
Diff
32 lines
1.5 KiB
Diff
--- xen-4.9.0/stubdom/Makefile.orig 2017-06-27 20:13:19.000000000 +0200
|
|
+++ xen-4.9.0/stubdom/Makefile 2017-08-08 19:03:03.968141229 +0200
|
|
@@ -117,6 +117,7 @@
|
|
cross-zlib: $(ZLIB_STAMPFILE)
|
|
$(ZLIB_STAMPFILE): zlib-$(XEN_TARGET_ARCH) $(NEWLIB_STAMPFILE)
|
|
( cd $< && \
|
|
+ patch -p1 < ../zlib_disable_man_install.diff && \
|
|
CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" CC=$(CC) ./configure --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf && \
|
|
$(MAKE) DESTDIR= libz.a && \
|
|
$(MAKE) DESTDIR= install )
|
|
--- xen-4.9.0/stubdom/zlib_disable_man_install.diff.orig 1970-01-01 01:00:00.000000000 +0100
|
|
+++ xen-4.9.0/stubdom/zlib_disable_man_install.diff 2017-08-08 18:57:11.541178819 +0200
|
|
@@ -0,0 +1,19 @@
|
|
+--- zlib-1.2.3/Makefile.in.orig 2005-07-18 04:25:21.000000000 +0200
|
|
++++ zlib-1.2.3/Makefile.in 2017-08-08 18:56:06.611161407 +0200
|
|
+@@ -93,7 +93,6 @@
|
|
+ -@if [ ! -d $(exec_prefix) ]; then mkdir -p $(exec_prefix); fi
|
|
+ -@if [ ! -d $(includedir) ]; then mkdir -p $(includedir); fi
|
|
+ -@if [ ! -d $(libdir) ]; then mkdir -p $(libdir); fi
|
|
+- -@if [ ! -d $(man3dir) ]; then mkdir -p $(man3dir); fi
|
|
+ cp zlib.h zconf.h $(includedir)
|
|
+ chmod 644 $(includedir)/zlib.h $(includedir)/zconf.h
|
|
+ cp $(LIBS) $(libdir)
|
|
+@@ -105,8 +104,6 @@
|
|
+ ln -s $(SHAREDLIBV) $(SHAREDLIBM); \
|
|
+ (ldconfig || true) >/dev/null 2>&1; \
|
|
+ fi
|
|
+- cp zlib.3 $(man3dir)
|
|
+- chmod 644 $(man3dir)/zlib.3
|
|
+ # The ranlib in install is needed on NeXTSTEP which checks file times
|
|
+ # ldconfig is for Linux
|
|
+
|