|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
#
|
|
|
# Filename: package/.../pkgconfig/fix-reinstall.patch
|
|
|
# Copyright (C) 2015 The OpenSDE Project
|
|
|
#
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
#
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
# version.
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
diff --git a/Makefile.am b/Makefile.am
|
|
|
index 41e48e8..3f97ff8 100644
|
|
|
--- a/Makefile.am
|
|
|
+++ b/Makefile.am
|
|
|
@@ -39,7 +39,7 @@ pkg_config_SOURCES= \
|
|
|
if HOST_TOOL
|
|
|
host_tool = $(host)-pkg-config$(EXEEXT)
|
|
|
install-exec-hook:
|
|
|
- cd $(DESTDIR)$(bindir) && $(LN) pkg-config$(EXEEXT) $(host_tool)
|
|
|
+ cd $(DESTDIR)$(bindir) && $(LN) -f pkg-config$(EXEEXT) $(host_tool)
|
|
|
uninstall-hook:
|
|
|
cd $(DESTDIR)$(bindir) && rm -f $(host_tool)
|
|
|
endif
|
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
|
index a1ad77c..23ef8d8 100644
|
|
|
--- a/Makefile.in
|
|
|
+++ b/Makefile.in
|
|
|
@@ -1093,7 +1093,7 @@ uninstall-man: uninstall-man1
|
|
|
uninstall-man1
|
|
|
|
|
|
@HOST_TOOL_TRUE@install-exec-hook:
|
|
|
-@HOST_TOOL_TRUE@ cd $(DESTDIR)$(bindir) && $(LN) pkg-config$(EXEEXT) $(host_tool)
|
|
|
+@HOST_TOOL_TRUE@ cd $(DESTDIR)$(bindir) && $(LN) -f pkg-config$(EXEEXT) $(host_tool)
|
|
|
@HOST_TOOL_TRUE@uninstall-hook:
|
|
|
@HOST_TOOL_TRUE@ cd $(DESTDIR)$(bindir) && rm -f $(host_tool)
|
|
|
|
|
|
|