audio/liblo: remove no-op SUBST block

The configure script only has LIBPTHREAD but neither -lpthread nor any
other placeholders.
This commit is contained in:
rillig 2020-04-25 17:42:53 +00:00
parent 2a118bb7d8
commit fcfaf578dc

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2020/03/22 11:11:32 nia Exp $
# $NetBSD: Makefile,v 1.8 2020/04/25 17:42:53 rillig Exp $
DISTNAME= liblo-0.31
CATEGORIES= audio
@ -19,13 +19,6 @@ 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"