pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/retroarch retroarch: SunOS build fixes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9b267a98e7a
branches:  trunk
changeset: 313646:e9b267a98e7a
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Oct 05 13:30:41 2018 +0000

description:
retroarch: SunOS build fixes

diffstat:

 emulators/retroarch/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 1dcee4d67bf5 -r e9b267a98e7a emulators/retroarch/Makefile
--- a/emulators/retroarch/Makefile      Fri Oct 05 12:57:30 2018 +0000
+++ b/emulators/retroarch/Makefile      Fri Oct 05 13:30:41 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2018/10/03 23:31:06 nia Exp $
+# $NetBSD: Makefile,v 1.12 2018/10/05 13:30:41 nia Exp $
 
 PKGNAME=       retroarch-${RETROARCH_VERSION}
 DISTNAME=      RetroArch-${RETROARCH_VERSION}
@@ -23,6 +23,9 @@
 CONFIGURE_ARGS+=       --disable-builtinflac
 CONFIGURE_ARGS+=       --disable-discord
 
+# necessity for loading cores, might as well fail early without it
+CONFIGURE_ARGS+=       --enable-dylib
+
 CONFIGURE_ENV+=        BIN_DIR=${PREFIX}/bin
 CONFIGURE_ENV+=        MAN_DIR=${PREFIX}/${PKGMANDIR}
 
@@ -33,6 +36,7 @@
 DEPENDS+=      libretro-glsl-shaders>=0:../../emulators/libretro-glsl-shaders
 
 CPPFLAGS+=     -DPREFIX=\"${PREFIX}\"
+LDFLAGS.SunOS+=        -lsocket -lnsl
 
 .include "../../mk/bsd.fast.prefs.mk"
 
@@ -49,5 +53,6 @@
 .include "../../audio/flac/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../net/miniupnpc/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index