mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 16:29:15 -04:00
23 lines
717 B
Text
23 lines
717 B
Text
diff --git js/src/Makefile.in js/src/Makefile.in
|
|
index e28160a..28ca5e8 100644
|
|
--- Makefile.in
|
|
+++ Makefile.in
|
|
@@ -57,7 +57,6 @@ ifdef JS_SHARED_LIBRARY
|
|
FORCE_SHARED_LIB = 1
|
|
endif
|
|
FORCE_STATIC_LIB = 1
|
|
-DIST_INSTALL = 1
|
|
|
|
VPATH = \
|
|
$(srcdir) \
|
|
@@ -857,8 +856,8 @@ install:: $(EXPORTS_mozilla)
|
|
install:: $(SCRIPTS)
|
|
$(SYSINSTALL) $^ $(DESTDIR)$(bindir)
|
|
|
|
-install:: $(REAL_LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY)
|
|
-ifneq (,$(REAL_LIBRARY))
|
|
+install:: $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY)
|
|
+ifdef DIST_INSTALL
|
|
$(SYSINSTALL) $(REAL_LIBRARY) $(DESTDIR)$(libdir)
|
|
mv -f $(DESTDIR)$(libdir)/$(REAL_LIBRARY) $(subst $(STATIC_LIBRARY_NAME),$(LIBRARY_NAME),$(DESTDIR)$(libdir)/$(REAL_LIBRARY))
|
|
endif
|