svn commit: r493497 - head/shells/bash/files
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Feb 21 09:32:10 UTC 2019
Author: ehaupt
Date: Thu Feb 21 09:32:08 2019
New Revision: 493497
URL: https://svnweb.freebsd.org/changeset/ports/493497
Log:
Do not attempt to build 'loadables' in the install target when the static build
option is selected.
Loadables will not build statically. The upstream makefile handles this by
ignoring a non-zero exit status by prefixing the build instruction with a minus.
Nevertheless this causes plenty of confusion among our user base.
No PORTREVISION bump as this is a NOOP.
Added:
head/shells/bash/files/patch-Makefile.in (contents, props changed)
Added: head/shells/bash/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/shells/bash/files/patch-Makefile.in Thu Feb 21 09:32:08 2019 (r493497)
@@ -0,0 +1,12 @@
+--- Makefile.in.orig 2018-05-25 12:47:09 UTC
++++ Makefile.in
+@@ -824,7 +824,9 @@ install: .made installdirs
+ infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
+ -( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
+ -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
++.if !$(STATIC_LD:M-static)
+ -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
++.endif
+
+ install-strip:
+ $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
More information about the svn-ports-head
mailing list