pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/enigma Don't use gethostbyname_r on NetBSD. Need...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ba790d53599
branches:  trunk
changeset: 345929:2ba790d53599
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Dec 21 23:41:05 2019 +0000

description:
Don't use gethostbyname_r on NetBSD. Needs convert.

diffstat:

 games/enigma/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 89e076e4d742 -r 2ba790d53599 games/enigma/Makefile
--- a/games/enigma/Makefile     Sat Dec 21 23:40:43 2019 +0000
+++ b/games/enigma/Makefile     Sat Dec 21 23:41:05 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2019/11/11 22:03:01 maya Exp $
+# $NetBSD: Makefile,v 1.38 2019/12/21 23:41:05 joerg Exp $
 
 DISTNAME=      enigma-1.21
 PKGNAME=       ${DISTNAME:S/-r/./}
@@ -11,6 +11,7 @@
 LICENSE=       gnu-gpl-v2
 
 DEPENDS+=              gettext-tools-[0-9]*:../../devel/gettext-tools
+TOOL_DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
 
 WRKSRC=                        ${WRKDIR}/${DISTNAME:S/-r1914//}
 USE_LANGUAGES=         c c++11
@@ -18,6 +19,8 @@
 USE_TOOLS+=            gmake
 GNU_CONFIGURE=         yes
 
+CONFIGURE_ARGS.NetBSD+=        ac_cv_func_gethostbyname_r=no
+
 BUILDLINK_API_DEPENDS.SDL_mixer+=      SDL_mixer>=1.2.6
 BUILDLINK_API_DEPENDS.SDL+=            SDL>=1.2.9
 BUILDLINK_API_DEPENDS.SDL_ttf+=                SDL_ttf>=2.0.7



Home | Main Index | Thread Index | Old Index