Bug 2801 - Install libunbound.pc
Install libunbound.pc
Status: RESOLVED FIXED
Product: unbound
Classification: Unclassified
Component: server
1.6.7
All Linux
: P5 enhancement
Assigned To: unbound team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-11 18:23 CET by Дилян Палаузов
Modified: 2017-11-13 11:25 CET (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Дилян Палаузов 2017-11-11 18:23:03 CET
so that other application can find its location using pkgconfig .

--- Makefile.in.orig    2017-11-11 17:22:13.612000000 +0000                                                                             
+++ Makefile.in 2017-11-11 17:21:31.480000000 +0000                                                                                     
@@ -533,6 +533,8 @@                                                                                                                     
        $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man8                                                                                   
        $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man5                                                                                   
        $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1                                                                                   
+       $(INSTALL) -m 644 -d $(DESTDIR)$(libdir)/pkgconfig                                                                              
+       $(INSTALL) -m 644 contrib/libunbound.pc $(DESTDIR)$(libdir)/pkgconfig                                                           
        $(LIBTOOL) --mode=install cp -f unbound$(EXEEXT) $(DESTDIR)$(sbindir)/unbound$(EXEEXT)                                          
        $(LIBTOOL) --mode=install cp -f unbound-checkconf$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-checkconf$(EXEEXT)
        $(LIBTOOL) --mode=install cp -f unbound-control$(EXEEXT) $(DESTDIR)$(sbindir)/unbound-control$(EXEEXT)
Comment 1 Wouter Wijngaards 2017-11-13 11:25:56 CET
Hi,

Thanks for the patch, committed!  I changed the permissions on the directory to 755, because it is a directory.

Best regards, Wouter