libgphoto2: libgphoto2_port.pc needed by dev 10380/head
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Mon, 28 Oct 2019 20:44:31 +0000 (17:44 -0300)
committerLuiz Angelo Daros de Luca <luizluca@gmail.com>
Mon, 28 Oct 2019 20:46:21 +0000 (17:46 -0300)
'pkg-config --exists libgphoto2' fails without libgphoto2_port.pc.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
libs/libgphoto2/Makefile

index cb741f2005fcdc57f7e0095faab74ae75d17a708..a6255c72708462ca15b7e5e3234515ce97cb5104 100644 (file)
@@ -476,7 +476,7 @@ define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgphoto2{,_port}.{a,so*} $(1)/usr/lib/
        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgphoto2.pc $(1)/usr/lib/pkgconfig/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgphoto2{,_port}.pc $(1)/usr/lib/pkgconfig/
        $(SED) 's,-I$$$${prefix}/include/gphoto2,,g' $(1)/usr/bin/gphoto2{,-port}-config
        $(SED) 's,-I$$$${prefix}/include,,g' $(1)/usr/bin/gphoto2{,-port}-config
        # remove annoying recursive symlink