pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/retroarch



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Oct  5 13:30:41 UTC 2018

Modified Files:
        pkgsrc/emulators/retroarch: Makefile

Log Message:
retroarch: SunOS build fixes


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/emulators/retroarch/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/retroarch/Makefile
diff -u pkgsrc/emulators/retroarch/Makefile:1.11 pkgsrc/emulators/retroarch/Makefile:1.12
--- pkgsrc/emulators/retroarch/Makefile:1.11    Wed Oct  3 23:31:06 2018
+++ pkgsrc/emulators/retroarch/Makefile Fri Oct  5 13:30:41 2018
@@ -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-builtinzlib
 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-database>=0:../../emu
 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 @@ CONFIGURE_ARGS+=      --disable-thread_storag
 .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