summaryrefslogtreecommitdiff
path: root/textproc/icu/patches/patch-icudefs.mk.in
blob: 7f507521847e5bae814af254a94496870e7c89d0 (plain)
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
$NetBSD: patch-icudefs.mk.in,v 1.2 2022/08/05 13:29:17 adam Exp $

Install shared libraries correctly.

--- icudefs.mk.in.orig	2022-04-07 22:41:55.000000000 +0000
+++ icudefs.mk.in
@@ -213,13 +213,13 @@ LIBICU = $(LIBPREFIX)$(ICUPREFIX)
 
 ## If we can't use the shared libraries, use the static libraries
 ifneq ($(ENABLE_SHARED),YES)
-STATIC_PREFIX_WHEN_USED = s
+STATIC_PREFIX_WHEN_USED = 
 else
 STATIC_PREFIX_WHEN_USED = 
 endif
 
 # Static library prefix and file extension
-STATIC_PREFIX = s
+STATIC_PREFIX =
 LIBSICU = $(LIBPREFIX)$(STATIC_PREFIX)$(ICUPREFIX)
 A = a
 SOBJ = $(SO)
@@ -231,7 +231,7 @@ RMV = rm -rf
 # INSTALL-L installs libraries. Override in mh-* file to INSTALL_PROGRAM
 #           when the library needs to have executable permissions
 INSTALL-S = $(INSTALL_PROGRAM)
-INSTALL-L = $(INSTALL_PROGRAM)
+INSTALL-L = ${BSD_INSTALL_LIB}
 #INSTALL-L = $(INSTALL_DATA)
 
 # Location of the libraries before "make install" is used