mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 06:40:33 -04:00
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.
12 lines
483 B
Text
12 lines
483 B
Text
--- 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' \
|