pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/din din: Fixes builds in Linux.
details: https://anonhg.NetBSD.org/pkgsrc/rev/becdb79eb886
branches: trunk
changeset: 399367:becdb79eb886
user: fox <fox%pkgsrc.org@localhost>
date: Wed Aug 07 23:49:02 2019 +0000
description:
din: Fixes builds in Linux.
1. Should fix builds in Ubuntu, LIBS are appended correctly during link.
2. Bumps PKGREVISION.
diffstat:
audio/din/Makefile | 8 ++++----
audio/din/options.mk | 10 +++++-----
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (54 lines):
diff -r 0da1954514aa -r becdb79eb886 audio/din/Makefile
--- a/audio/din/Makefile Wed Aug 07 23:44:32 2019 +0000
+++ b/audio/din/Makefile Wed Aug 07 23:49:02 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2019/07/28 17:12:46 fox Exp $
+# $NetBSD: Makefile,v 1.8 2019/08/07 23:49:02 fox Exp $
DISTNAME= din-42
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= https://archive.org/download/dinisnoise_source_code/
@@ -14,8 +14,8 @@
USE_TOOLS+= autoreconf pkg-config gmake
GNU_CONFIGURE= yes
-LDFLAGS+= -ltcl -lSDL -lGL -lpthread
-LDFLAGS.Darwin+= -lSDLmain
+LIBS+= -ltcl -lSDL -lGL -lpthread
+LIBS.Darwin+= -lSDLmain
.include "options.mk"
diff -r 0da1954514aa -r becdb79eb886 audio/din/options.mk
--- a/audio/din/options.mk Wed Aug 07 23:44:32 2019 +0000
+++ b/audio/din/options.mk Wed Aug 07 23:49:02 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2018/12/10 20:33:06 fox Exp $
+# $NetBSD: options.mk,v 1.2 2019/08/07 23:49:02 fox Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.din
PKG_OPTIONS_OPTIONAL_GROUPS= backend
@@ -11,8 +11,8 @@
### Support ALSA
###
.if !empty(PKG_OPTIONS:Malsa)
-CXXFLAGS+= -D__LINUX_ALSA__
-LDFLAGS+= -lasound
+CXXFLAGS+= -D__LINUX_ALSA__
+LIBS+= -lasound
.include "../../audio/alsa-lib/buildlink3.mk"
.endif
@@ -20,7 +20,7 @@
### Support JACK
###
.if !empty(PKG_OPTIONS:Mjack)
-CXXFLAGS+= -D__UNIX_JACK__
-LDFLAGS+= -ljack
+CXXFLAGS+= -D__UNIX_JACK__
+LIBS+= -ljack
.include "../../audio/jack/buildlink3.mk"
.endif
Home |
Main Index |
Thread Index |
Old Index