89f8b05214
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some circumstances such as versions of FreeBSD or platforms). In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang, c++11-lang, c++0x, c11 requested via USES=compiler.
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= glusterfs
|
|
PORTVERSION= 3.7.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://bits.gluster.org/pub/gluster/glusterfs/src/
|
|
|
|
MAINTAINER= craig001@lerwick.hopto.org
|
|
COMMENT= GlusterFS distributed file system
|
|
|
|
LICENSE= GPLv2 LGPL3
|
|
LICENSE_COMB= dual
|
|
|
|
LIB_DEPENDS= libargp.so:devel/argp-standalone liburcu-bp.so:sysutils/liburcu
|
|
|
|
USE_GCC= any
|
|
|
|
USES= bison gettext libtool pkgconfig python:build readline \
|
|
shebangfix sqlite
|
|
SHEBANG_FILES= extras/peer_add_secret_pub.in \
|
|
tools/glusterfind/S57glusterfind-delete-post.py \
|
|
extras/ganesha/scripts/ganesha-ha.sh
|
|
|
|
USE_GNOME= glib20 libxml2
|
|
USE_LDCONFIG= yes
|
|
USE_OPENSSL= yes
|
|
USE_RC_SUBR= glusterd
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
|
|
--with-mountutildir=${PREFIX}/sbin \
|
|
--localstatedir=/var \
|
|
--disable-epoll \
|
|
--enable-glupy \
|
|
--disable-georeplication \
|
|
ac_cv_lib_aio_io_setup=no ac_cv_func_fallocate=no \
|
|
ac_cv_func_setfsuid=no ac_cv_func_fdatasync=no \
|
|
ac_cv_func_llistxattr=no ac_cv_func_malloc_stats=no
|
|
CPPFLAGS+= -I"${LOCALBASE}/include"
|
|
LDFLAGS+= -L"${LOCALBASE}/lib" -largp
|
|
INSTALL_TARGET= install-strip
|
|
PLIST_SUB= GLUSTERLIBDIR="lib/${PORTNAME}/3.7.6"
|
|
KMODDIR?= /boot/modules
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OSVERSION} < 1000000
|
|
WITH_OPENSSL_PORT= yes
|
|
RUN_DEPENDS+= ${KMODDIR}/fuse.ko:sysutils/fusefs-kmod
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|