From fd5031a439615950bf17220e62f0ad4fd64e2f27 Mon Sep 17 00:00:00 2001 From: John Ellson Date: Mon, 4 Nov 2013 13:05:09 -0500 Subject: [PATCH] trying to make graphviz-lang-php multilib safe --- tclpkg/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tclpkg/Makefile.am b/tclpkg/Makefile.am index 1c7a1bcf9..3dc91e3ff 100644 --- a/tclpkg/Makefile.am +++ b/tclpkg/Makefile.am @@ -59,6 +59,8 @@ if WITH_PERL fi endif if WITH_PHP + + # use "cp" instead of "ln -s $(pkgphpdir)/gv.php" because of multilib conflict -mkdir -p $(DESTDIR)@PHP_INSTALL_DIR@; if test -w $(DESTDIR)@PHP_INSTALL_DIR@; then \ (cd $(DESTDIR)@PHP_INSTALL_DIR@; \ @@ -70,7 +72,7 @@ if WITH_PHP -mkdir -p $(DESTDIR)@PHP_INSTALL_DATADIR@; if test -w $(DESTDIR)@PHP_INSTALL_DATADIR@; then \ (cd $(DESTDIR)@PHP_INSTALL_DATADIR@; \ - $(LN_S) -f $(pkgphpdir)/gv.php gv.php;) \ + cp -f $(pkgphpdir)/gv.php gv.php;) \ else \ echo "Warning: @PHP_INSTALL_DATADIR@ is not writable."; \ echo "Skipping system installation of php binding."; \ -- 2.40.0