c6c9ee028f
1. Adds the SDLmain linker flag for Darwin to prevent link time failures. Reviewed by: nia@
27 lines
748 B
Makefile
27 lines
748 B
Makefile
# $NetBSD: Makefile,v 1.7 2019/07/28 17:12:46 fox Exp $
|
|
|
|
DISTNAME= din-42
|
|
PKGREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= https://archive.org/download/dinisnoise_source_code/
|
|
|
|
MAINTAINER= fox@NetBSD.org
|
|
HOMEPAGE= https://dinisnoise.org/
|
|
COMMENT= Open source cross-platform sound synthesizer
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= autoreconf pkg-config gmake
|
|
GNU_CONFIGURE= yes
|
|
|
|
LDFLAGS+= -ltcl -lSDL -lGL -lpthread
|
|
LDFLAGS.Darwin+= -lSDLmain
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|