Hey @ports,
devel/libplist is broken in-current. It doesn't build.
Juan Francisco Cantero Hurtado fixed[1] the problem. Here's a
little modified version. The patch fix the build process.
All tests are green.
Cheers,
Rafael Sadowski
[1]:
openbsd.7691.n7.nabble.com/PATCH-devel-libplist-Wrong-order-of-include-dirs-td227103.html
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libplist/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile 12 Apr 2013 17:12:55 -0000 1.6
+++ Makefile 12 May 2013 21:58:23 -0000
@@ -39,6 +39,6 @@ WANTLIB += glib-2.0 m stdc++ xml2
WANTLIB-main += ${WANTLIB} c pthread
WANTLIB-python += ${WANTLIB} plist plist++ python${MODPY_VERSION}
-CONFIGURE_ARGS = -DCMAKE_C_FLAGS="${CFLAGS} -I${LOCALBASE}/include
-pthread"
+CONFIGURE_ARGS = -DCMAKE_C_FLAGS="${CFLAGS} -pthread"
.include <bsd.port.mk>
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-CMakeLists_txt 12 May 2013 21:58:23 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- CMakeLists.txt.orig Sun May 12 14:01:43 2013
++++ CMakeLists.txt Sun May 12 14:03:13 2013
+@@ -34,7 +34,8 @@ IF(ENABLE_SWIG OR ENABLE_CYTHON)
+ ENDIF(ENABLE_SWIG OR ENABLE_CYTHON)
+
+ INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/include
+- ${CMAKE_INCLUDE_PATH})
++ ${CMAKE_INCLUDE_PATH}
++ /usr/local/include)
+
+ ENABLE_TESTING()
+
Index: patches/patch-swig_plist_i
===================================================================
RCS file: /cvs/ports/devel/libplist/patches/patch-swig_plist_i,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-swig_plist_i
--- patches/patch-swig_plist_i 15 Nov 2011 11:05:22 -0000 1.1.1.1
+++ patches/patch-swig_plist_i 12 May 2013 21:58:23 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-swig_plist_i,v 1.1.1.1 2011/11/15 11:05:22 mpi Exp $
---- swig/plist.i.orig Sat Nov 12 16:48:56 2011
-+++ swig/plist.i Sat Nov 12 16:49:33 2011
-@@ -34,7 +34,7 @@
+--- swig/plist.i.orig Tue Mar 19 17:34:11 2013
++++ swig/plist.i Sun May 12 13:52:08 2013
+@@ -35,7 +35,7 @@
}
%typemap(out) timeval {