1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/net/openbsc/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

48 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= openbsc
PORTVERSION= 0.15.0
PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= http://git.osmocom.org/${PORTNAME}/snapshot/ \
http://chaosophia.net/downloads/osmocom/${PORTNAME}/
MAINTAINER= koue@chaosophia.net
COMMENT= GSM network in a box software
LICENSE= GPLv3
LIB_DEPENDS= libdbi.so:databases/libdbi \
libosmocore.so:devel/libosmocore \
libosmoabis.so:devel/libosmo-abis \
libosmonetif.so:devel/libosmo-netif \
libdbi.so:databases/libdbi
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
USES= autoreconf compiler:c11 gmake pathfix pkgconfig ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= CFLAGS="-I${LOCALBASE}/include"
OPTIONS_DEFINE= BSC NAT SQLITE
OPTIONS_DEFAULT= BSC NAT
BSC_DESC= Enable OSMO BSC
NAT_DESC= Enable NAT support
SQLITE_DESC= Enable SQLite support
OPTIONS_SUB= yes
BSC_CONFIGURE_ENABLE= osmo-bsc
NAT_CONFIGURE_ENABLE= nat
NAT_BUILD_DEPENDS= ${LOCALBASE}/lib/libsccp.a:devel/libosmo-sccp
NAT_RUN_DEPENDS= ${LOCALBASE}/lib/libsccp.a:devel/libosmo-sccp
SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
post-patch:
${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version
.include <bsd.port.mk>