Skip to content
Snippets Groups Projects
Commit 5350d68a authored by Steve Lhomme's avatar Steve Lhomme
Browse files

contrib: libtasn1: avoid reconfiguration

The gnulib packaged doesn't seem to match the source (wint_t detection
differences). We can just force EXTRA_PROGRAMS to avoid building the
executables.

The strverscmp() patch doesn't seem necessary anymore.
parent de40c1a8
No related branches found
No related tags found
No related merge requests found
--- libtasn1/src/Makefile.am.old 2018-11-20 16:44:09.003920133 +0100
+++ libtasn1/src/Makefile.am 2018-11-20 16:42:16.591920562 +0100
@@ -21,7 +21,7 @@
LDADD = ../lib/libtasn1.la ../gl/libgnu.la
-bin_PROGRAMS = asn1Parser asn1Coding asn1Decoding
+EXTRA_PROGRAMS = asn1Parser asn1Coding asn1Decoding
asn1Parser_SOURCES = asn1Parser.c
......@@ -14,18 +14,14 @@ $(TARBALLS)/libtasn1-$(LIBTASN1_VERSION).tar.gz:
libtasn1: libtasn1-$(LIBTASN1_VERSION).tar.gz .sum-libtasn1
$(UNPACK)
$(APPLY) $(SRC)/libtasn1/no-executables.patch
$(APPLY) $(SRC)/libtasn1/0001-fcntl-do-not-call-GetHandleInformation-in-Winstore-a.patch
# on iOS for some reason _GNU_SOURCE is found in config.h but strverscmp() is not found
sed -i.orig -e 's, -DASN1_BUILDING, -DASN1_BUILDING -D_GNU_SOURCE,' $(UNPACK_DIR)/lib/Makefile.am
$(MOVE)
LIBTASN1_CONF := --disable-doc
.libtasn1: libtasn1
$(RECONF)
$(MAKEBUILDDIR)
$(MAKECONFIGURE) $(LIBTASN1_CONF)
+$(MAKEBUILD)
+$(MAKEBUILD) install
+$(MAKEBUILD) bin_PROGRAMS=
+$(MAKEBUILD) bin_PROGRAMS= install
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment