1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/net/libfb/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

35 lines
857 B
Makefile

# New ports collection makefile for: libfb
# Date created: 12 Jan 2010
# Whom: Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libfb
PORTVERSION= 2.0.2
CATEGORIES= net net-mgmt
MASTER_SITES= http://support.red-fone.com/downloads/fonulator/
MAINTAINER= fjoe@FreeBSD.org
COMMENT= A foneBRIDGE configuration library
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
GNU_CONFIGURE= yes
CPPFLAGS+= ${LIBNET_CPPFLAGS}
LDFLAGS+= ${LIBNET_LIBS:N-l*}
CONFIGURE_ARGS= --disable-shared
LIBNET_CONFIG= ${LOCALBASE}/bin/libnet11-config
.if 0
# this does not work when LIBNET_CONFIG does not exist prior to building this port
LIBNET_CPPFLAGS!= ${LIBNET_CONFIG} --cflags --defines
LIBNET_LIBS!= ${LIBNET_CONFIG} --libs
.else
LIBNET_CPPFLAGS= -I${LOCALBASE}/include/libnet11
LIBNET_LIBS= -L${LOCALBASE}/lib/libnet11
.endif
.include <bsd.port.mk>