blob: a9a3883ae4ed6c43a12fe507dd34ee4592a26b9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.3 2018/07/04 13:40:08 jperkin Exp $
#
DISTNAME= liblo-0.28
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=liblo/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://liblo.sourceforge.net/
COMMENT= Lightweight Open Sound Control implementation
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
CFLAGS+= ${PTHREAD_CFLAGS}
PKGCONFIG_OVERRIDE+= liblo.pc.in
PTHREAD_OPTS+= require
RESOLV_AUTO_VARS= yes # gethostbyname and friends
SUBST_CLASSES+= conf
SUBST_FILES.conf= configure Makefile.in src/Makefile.in liblo.pc.in
SUBST_MESSAGE.conf= Performing build-time configuration substitutions.
SUBST_SED.conf= -e 's,-lpthread,$${PTHREAD_LDFLAGS} $${PTHREAD_LIBS},'
SUBST_STAGE.conf= pre-configure
SUBST_VARS.conf= PTHREAD_CFLAGS PTHREAD_LDFLAGS PTHREAD_LIBS
LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/resolv.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|