summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2019-09-29 15:43:42 +0200
committerMarc Schiffbauer <mschiff@gentoo.org>2019-09-29 15:49:49 +0200
commit0df4386ba600726361146039e8246f2ec490e6ea (patch)
tree752d030c7779fab076ab473abae593be29a7d8bf /net-libs/ldns/files
parentnet-libs/ldns: add subslot (diff)
downloadgentoo-0df4386ba600726361146039e8246f2ec490e6ea.tar.gz
gentoo-0df4386ba600726361146039e8246f2ec490e6ea.tar.bz2
gentoo-0df4386ba600726361146039e8246f2ec490e6ea.zip
net-libs/ldns: reorder linking sources
fixes #641598 Package-Manager: Portage-2.3.66, Repoman-2.3.16 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'net-libs/ldns/files')
-rw-r--r--net-libs/ldns/files/ldns-1.7.1-Makefile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-libs/ldns/files/ldns-1.7.1-Makefile.patch b/net-libs/ldns/files/ldns-1.7.1-Makefile.patch
new file mode 100644
index 000000000000..d654bbda6131
--- /dev/null
+++ b/net-libs/ldns/files/ldns-1.7.1-Makefile.patch
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2019-09-29 15:17:24.728446345 +0200
++++ Makefile.in 2019-09-29 15:18:09.544008785 +0200
+@@ -301,7 +301,7 @@
+ $(COMP_LIB) -I./include/ldns $(LIBSSL_CPPFLAGS) $(PYTHON_CPPFLAGS) $(PYTHON_X_CFLAGS) -c $(pywrapdir)/ldns_wrapper.c -o $@
+
+ _ldns.la: ldns_wrapper.lo libldns.la
+- $(LIBTOOL) --tag=CC --mode=link $(CC) $(CFLAGS) $(PYTHON_CFLAGS) $(LDFLAGS) $(PYTHON_LDFLAGS) -module -version-info $(version_info) -no-undefined -o $@ ldns_wrapper.lo -rpath $(python_site) -L. -L.libs -lldns $(LIBS)
++ $(LIBTOOL) --tag=CC --mode=link $(CC) $(CFLAGS) $(PYTHON_CFLAGS) -module -version-info $(version_info) -no-undefined -o $@ ldns_wrapper.lo -rpath $(python_site) -L. -L.libs -lldns $(LDFLAGS) $(PYTHON_LDFLAGS) $(LIBS)
+
+ $(p5_dns_ldns_dir)/Makefile: $(p5_dns_ldns_dir)/Makefile.PL
+ BUILDDIR=`pwd`; cd $(p5_dns_ldns_dir); LD_LIBRARY_PATH="$$BUILDDIR/.libs:$$LD_LIBRARY_PATH" DYLD_LIBRARY_PATH="$$BUILDDIR/.libs:$$DYLD_LIBRARY_PATH" $(PERL) Makefile.PL LIBS="-L$$BUILDDIR/.libs -lldns" INC="-I$$BUILDDIR"