Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2019 09:32:09 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493497 - head/shells/bash/files
Message-ID:  <201902210932.x1L9W9W8001699@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902210932.x1L9W9W8001699>