summaryrefslogtreecommitdiff
path: root/sys-libs/libxcrypt/files/libxcrypt-4.4.10-multibuild.patch
blob: aee7d7229b1b069dd2d056331256720b49b918f0 (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
diff --git a/Makefile.am b/Makefile.am
index 3502a5c..afb8079 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -84,11 +84,7 @@ noinst_HEADERS = \
 	test/des-cases.h \
 	test/crypt-kat.inc
 
-if ENABLE_XCRYPT_COMPAT_FILES
 nodist_include_HEADERS += xcrypt.h
-else
-nodist_noinst_HEADERS += xcrypt.h
-endif
 
 noinst_PROGRAMS = \
 	lib/gen-des-tables
@@ -137,7 +133,7 @@ uninstall_hook_targets = \
 	uninstall-hook-pkgconfig
 install-data-hook-pkgconfig:
 	cd $(DESTDIR)$(pkgconfigdir) && \
-		$(LN_S) libxcrypt.pc libcrypt.pc
+		$(LN_S) -f libxcrypt.pc libcrypt.pc
 uninstall-hook-pkgconfig:
 	-rm -f $(DESTDIR)$(pkgconfigdir)/libcrypt.pc