summaryrefslogtreecommitdiff
path: root/sys-libs/libxcrypt/files/libxcrypt-4.4.12-multibuild.patch
blob: 80621303688621b374dd226f107f12bd21d98941 (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 26db1c1..597c3f4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -84,11 +84,7 @@ noinst_HEADERS = \
 	test/des-cases.h \
 	test/ka-table.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