ports/179704: devel/mdds does not install any .pc file
Francois Tigeot
ftigeot at wolfpond.org
Wed Jun 19 07:20:00 UTC 2013
>Number: 179704
>Category: ports
>Synopsis: devel/mdds does not install any .pc file
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 19 07:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Francois Tigeot
>Release: DragonFly 3.5
>Organization:
Dports
>Environment:
DragonFly sekishi.zefyris.com 3.5-DEVELOPMENT DragonFly v3.5.0.324.gba8192-DEVELOPMENT #20: Sun Jun 9 09:07:40 CEST 2013 ftigeot at sekishi.zefyris.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64
>Description:
The future LibreOffice 4.1 expects a .pc file to be present to properly
detect mdds.
The mdds library comes with a .pc template file; unfortunately the port doesn't attempt to install it, causing LibreOffice-4.1 builds to fail at configure time.
>How-To-Repeat:
Try to build the LibreOffice 4.1 release candidate
>Fix:
Apply the attached patches
Patch attached with submission follows:
diff --git a/devel/mdds/Makefile b/devel/mdds/Makefile
index 3b5eec6..ff082eb 100644
--- a/devel/mdds/Makefile
+++ b/devel/mdds/Makefile
@@ -15,6 +15,7 @@ LICENSE= MIT
PROJECTHOST= multidimalgorithm
USE_BZIP2= yes
+GNU_CONFIGURE= yes
NO_BUILD= yes
do-install:
@@ -25,5 +26,6 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/include/mdds/*.inl ${PREFIX}/include/mdds
@${INSTALL_DATA} ${WRKSRC}/include/mdds/compat/*.hpp ${PREFIX}/include/mdds/compat
@${INSTALL_DATA} ${WRKSRC}/include/mdds/hash_container/*.hpp ${PREFIX}/include/mdds/hash_container
+ @${INSTALL_DATA} ${WRKSRC}/misc/mdds.pc ${PREFIX}/libdata/pkgconfig
.include <bsd.port.mk>
diff --git a/devel/mdds/pkg-plist b/devel/mdds/pkg-plist
index 15b3cd9..2f8538b 100644
--- a/devel/mdds/pkg-plist
+++ b/devel/mdds/pkg-plist
@@ -28,6 +28,7 @@ include/mdds/rectangle_set_def.inl
include/mdds/segment_tree.hpp
include/mdds/compat/unique_ptr.hpp
include/mdds/hash_container/map.hpp
+libdata/pkgconfig/mdds.pc
@dirrm include/mdds/hash_container
@dirrm include/mdds/compat
@dirrm include/mdds
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list