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 the build failures in Darwin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f1abac9f0ee
branches:  trunk
changeset: 398712:8f1abac9f0ee
user:      fox <fox%pkgsrc.org@localhost>
date:      Sun Jul 28 17:12:46 2019 +0000

description:
din: Fixes the build failures in Darwin.

1. Adds the SDLmain linker flag for Darwin to prevent link time failures.

Reviewed by: nia@

diffstat:

 audio/din/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 3f425a9497b3 -r 8f1abac9f0ee audio/din/Makefile
--- a/audio/din/Makefile        Sun Jul 28 16:13:40 2019 +0000
+++ b/audio/din/Makefile        Sun Jul 28 17:12:46 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2019/07/01 04:07:55 ryoon Exp $
+# $NetBSD: Makefile,v 1.7 2019/07/28 17:12:46 fox Exp $
 
 DISTNAME=      din-42
 PKGREVISION=   1
@@ -14,7 +14,8 @@
 USE_TOOLS+=    autoreconf pkg-config gmake
 GNU_CONFIGURE= yes
 
-LDFLAGS+=      -ltcl -lSDL -lGL -lpthread
+LDFLAGS+=              -ltcl -lSDL -lGL -lpthread
+LDFLAGS.Darwin+=       -lSDLmain
 
 .include "options.mk"
 



Home | Main Index | Thread Index | Old Index