1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$NetBSD: patch-lib_Makefile,v 1.7 2018/10/07 06:25:30 adam Exp $
Enable the "install" target on all OS.
Fix pkgconfig installation path.
--- lib/Makefile.orig 2018-10-05 16:34:52.000000000 +0000
+++ lib/Makefile
@@ -166,7 +166,6 @@ clean:
#-----------------------------------------------------------------------------
# make install is validated only for Linux, macOS, BSD, Hurd and Solaris targets
#-----------------------------------------------------------------------------
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku))
DESTDIR ?=
# directory variables : GNU conventions prefer lowercase
@@ -180,11 +179,7 @@ LIBDIR ?= $(libdir)
includedir ?= $(PREFIX)/include
INCLUDEDIR ?= $(includedir)
-ifneq (,$(filter $(shell uname),FreeBSD NetBSD DragonFly))
-PKGCONFIGDIR ?= $(PREFIX)/libdata/pkgconfig
-else
PKGCONFIGDIR ?= $(LIBDIR)/pkgconfig
-endif
ifneq (,$(filter $(shell uname),SunOS))
INSTALL ?= ginstall
@@ -244,4 +239,3 @@ uninstall:
@$(RM) $(DESTDIR)$(INCLUDEDIR)/zdict.h
@echo zstd libraries successfully uninstalled
-endif
|