439dfcf169
csync with -pthread to prevent: dlopen: failed to open libpthread.so.XX.X
56 lines
1.1 KiB
Makefile
56 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.7 2012/08/21 15:28:18 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= bidirectional directories synchronizer
|
|
|
|
DISTNAME= csync-0.50.8
|
|
REVISION= 0
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
CATEGORIES= net
|
|
|
|
SHARED_LIBS += csync 0.0 # 0.1
|
|
|
|
HOMEPAGE= http://www.csync.org/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c crypto iniparser log4c neon pthread smbclient sqlite3
|
|
WANTLIB += ssh ssl
|
|
|
|
MASTER_SITES= http://download.owncloud.com/download/
|
|
|
|
MODULES= devel/cmake
|
|
|
|
BUILD_DEPENDS= devel/argp-standalone \
|
|
devel/check \
|
|
devel/doxygen
|
|
|
|
LIB_DEPENDS= devel/iniparser \
|
|
devel/log4c \
|
|
net/neon \
|
|
net/samba \
|
|
security/libssh
|
|
|
|
# csync_owncloud requires -pthread:
|
|
# dlopen: failed to open libpthread.so.XX.X
|
|
CONFIGURE_ARGS= -DCMAKE_C_FLAGS="${CFLAGS} -pthread" \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DMAN_INSTALL_DIR=${PREFIX}/man \
|
|
-DSYSCONFDIR=${SYSCONFDIR} \
|
|
-DSYSCONF_INSTALL_DIR=${PREFIX}/share/examples \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
NO_REGRESS= Yes
|
|
USE_GROFF= Yes
|
|
|
|
.include <bsd.port.mk>
|