aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-03-26 20:59:13 +0800
committermakc <makc@FreeBSD.org>2013-03-26 20:59:13 +0800
commit3e8d558fef322c71225db16769f3ef0ef43bddd5 (patch)
tree988ca5fe07b1ccbecd12b901db5156f297f0b93b /deskutils
parenteeb32a4790e33a6f36ceb7ab2e01769a89719178 (diff)
downloadfreebsd-ports-gnome-3e8d558fef322c71225db16769f3ef0ef43bddd5.tar.gz
freebsd-ports-gnome-3e8d558fef322c71225db16769f3ef0ef43bddd5.tar.zst
freebsd-ports-gnome-3e8d558fef322c71225db16769f3ef0ef43bddd5.zip
libopensync-plugin-python:
- Fix configure stage [1] - Mark BROKEN: fails to build with recent libopensync - Switch to out-of-source build, which is required by upstream msynctool: - Fix typo in BROKEN and make it more informative Reported by: pointyhat (miwi) [1]
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/libopensync-plugin-python-devel/Makefile11
-rw-r--r--deskutils/msynctool-devel/Makefile2
2 files changed, 8 insertions, 5 deletions
diff --git a/deskutils/libopensync-plugin-python-devel/Makefile b/deskutils/libopensync-plugin-python-devel/Makefile
index 636b107678b6..beb235d9ca95 100644
--- a/deskutils/libopensync-plugin-python-devel/Makefile
+++ b/deskutils/libopensync-plugin-python-devel/Makefile
@@ -19,8 +19,10 @@ LIB_DEPENDS= opensync.1:${PORTSDIR}/devel/libopensync
CONFLICTS= libopensync-plugin-python-0.2*
+BROKEN= fails to build with recent libopensync
+
USE_BZIP2= yes
-USES= cmake
+USES= cmake:outsource
USE_PYTHON= yes
USE_GNOME= pkgconfig
CMAKE_ARGS+= -Wno-dev \
@@ -32,9 +34,10 @@ CMAKE_ARGS+= -Wno-dev \
OS_PLUGIN_DIR= ${PREFIX}/lib/opensync-1.0/plugins
OS_PYPLUGIN_DIR=${PREFIX}/lib/opensync-1.0/python-plugins
-pre-patch:
- @${REINPLACE_CMD} -e "s|MESSAGE|# MESSAGE|" \
- ${WRKSRC}/cmake/modules/MacroEnsureOutOfSourceBuild.cmake
+post-patch:
+# Help find opensync, which is apparently renamed in ports
+ ${REINPLACE_CMD} -e "s,opensync-1.0,libopensync,g" \
+ ${WRKSRC}/cmake/modules/FindOpenSync.cmake
do-install:
${MKDIR} -p ${OS_PLUGIN_DIR} ${OS_PYPLUGIN_DIR}
diff --git a/deskutils/msynctool-devel/Makefile b/deskutils/msynctool-devel/Makefile
index 627acb11640f..65df8af2a68e 100644
--- a/deskutils/msynctool-devel/Makefile
+++ b/deskutils/msynctool-devel/Makefile
@@ -21,7 +21,7 @@ USE_PKGCONFIG= build
PLIST_FILES= bin/${PORTNAME}
-BROKEN= failes to build
+BROKEN= fails to build with recent libopensync
post-patch:
# Help find opensync, which is apparently renamed in ports