ports/sysutils/mstflint/files/extrat-patch-mlxarchive_Makefile.am
Olivier Cochard 7b3a812950 Update to 4.14.0-3 and added new options:
- MFWMANAGER to add mstfwmanager and mstarchive tools;
- ADAB to add mstreg and mstlink tools;
- STATIC to reduce the final packages size brings by libboost dependency;
- Prepare the upcoming -lite sub port.

PR:		242038
Approved by:	hselasky (maintainer timeout)
Sponsored by:	Netflix
2020-08-03 13:13:52 +00:00

26 lines
965 B
Text

--- mlxarchive/Makefile.am.orig 2020-01-05 16:50:06.000000000 +0100
+++ mlxarchive/Makefile.am 2020-01-09 14:15:21.405697000 +0100
@@ -20,8 +20,6 @@ DEV_MGT_DIR = $(USER_DIR)/dev_mgt
TOOLS_CRYPTO_DIR = $(USER_DIR)/tools_crypto
CMDIF_DIR = $(USER_DIR)/cmdif
-CURL_LIBS = -lcurl -lssl -lcrypto -lrt
-
INCLUDES = $(JSON_CFLAGS) -I. \
-I$(USER_DIR) -I$(USER_DIR)/libmfa \
-I$(MTCR_DIR) -I$(USER_DIR)/include/mtcr_ul \
@@ -64,13 +62,13 @@ mstarchive_LDADD = libmstarchive.a\
$(USER_DIR)/xz_utils/libxz_utils.a\
$(USER_DIR)/ext_libs/minixz/libminixz.a\
$(USER_DIR)/xz_utils/libxz_utils.a \
- $(CURL_LIBS)\
-lboost_regex -lboost_filesystem -lboost_system \
-llzma -lm $(LIBSTD_CPP) ${LDL}
if ENABLE_OPENSSL
mstarchive_LDADD += $(top_srcdir)/mlxsign_lib/libmlxsign.a -lcrypto
else
+AM_CXXFLAGS += -DNO_OPEN_SSL
endif
if ENABLE_CS