ldns/ldns-installfix-r3167.patch
Paul Wouters 77e8af6a96 - Fix missing _ldns.so causing ldns-python to not work
- Patch for installing ldns-python files
- Patch for rpath in ldns-python
- Don't install .a file for ldns-python
2010-01-22 16:50:31 +00:00

14 lines
567 B
Diff

--- Makefile.in.org 2010-01-22 11:09:15.671232722 -0500
+++ Makefile.in 2010-01-22 11:10:08.346392415 -0500
@@ -203,8 +203,8 @@
install-pyldns: @PYLDNS@
$(INSTALL) -m 755 -d $(DESTDIR)$(python_site)/ldns
- $(INSTALL) -c -m 644 $(pywrapdir)/ldns.py $(DESTDIR)$(python_site)/ldns/__init__.py
- $(INSTALL) -c -m 755 _ldns.* $(DESTDIR)$(python_site)/ldns/
+ $(INSTALL) -c -m 644 $(pywrapdir)/ldns.py $(DESTDIR)$(python_site)/ldns.py
+ $(LIBTOOL) --mode=install cp _ldns.la $(DESTDIR)$(python_site)
uninstall-pyldns:
rm -f $(DESTDIR)$(python_site)/ldns/*