40d1e553b9
PTHREAD_LDFLAGS, such as NetBSD
30 lines
919 B
Makefile
30 lines
919 B
Makefile
# $NetBSD: Makefile,v 1.15 2008/11/01 12:22:07 gschwarz Exp $
|
|
|
|
DISTNAME= siproxd-0.7.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
|
|
|
|
MAINTAINER= schwarz@NetBSD.org
|
|
HOMEPAGE= http://siproxd.sourceforge.net/
|
|
COMMENT= Session Initiation Protocol Application-Level Gateway (SIP ALG)
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_TOOLS+= gmake
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONFIGURE_ARGS+= --with-libosip-prefix=${BUILDLINK_PREFIX.libosip2}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/siproxd
|
|
|
|
CONF_FILES= ${EGDIR}/siproxd.conf.example ${PKG_SYSCONFDIR}/siproxd.conf \
|
|
${EGDIR}/siproxd_passwd.cfg \
|
|
${PKG_SYSCONFDIR}/siproxd_passwd.cfg
|
|
|
|
INSTALLATION_DIRS= sbin share/examples/siproxd
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
PTHREAD_LIBS+= ${PTHREAD_LDFLAGS}
|
|
# needed since siproxd's configure does not check for PTHREAD_LDFLAGS
|
|
|
|
.include "../../devel/libosip/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|