summaryrefslogtreecommitdiff
path: root/audio/mpg123/patches/patch-Makefile.in
blob: 5312713bfc37bfe5ad809a412619f27366cadecc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-Makefile.in,v 1.1 2017/04/16 08:12:27 adam Exp $

Keep .la files for PLISTs.

--- Makefile.in.orig	2017-04-16 06:26:06.000000000 +0000
+++ Makefile.in
@@ -4072,12 +4072,6 @@ uninstall-man: uninstall-man1
 @USE_YASM_FOR_AVX_TRUE@	@echo "pic_object='`basename $<`'" >>$@
 @USE_YASM_FOR_AVX_TRUE@	@echo "non_pic_object='`basename $<`'" >>$@
 
-# Get rid of .la files, at least _after_ install.
-@HAVE_MODULES_TRUE@install-exec-hook:
-@HAVE_MODULES_TRUE@	cd $(DESTDIR)$(pkglibdir) && $(RM) @output_modules_la@
-# The above breaks uninstall of module .so files?
-@HAVE_MODULES_TRUE@uninstall-hook:
-@HAVE_MODULES_TRUE@	for m in @output_modules_la@; do eval $$(grep dlname= src/libout123/modules/$$m) && $(RM) $(DESTDIR)$(pkglibdir)/$$dlname; done
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.