From e47d103e8c3a57386c6f6229c811deee5abab1c5 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 31 Oct 2013 15:10:49 +0000 Subject: [PATCH] Add -fPIC to CPPFLAGS to fix build on NetBSD-6.99.24/amd64/clang/libc++. --- emulators/dosbox/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile index 4d5b234e7b68..618efe164716 100644 --- a/emulators/dosbox/Makefile +++ b/emulators/dosbox/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2013/10/21 09:48:10 fhajny Exp $ +# $NetBSD: Makefile,v 1.37 2013/10/31 15:10:49 wiz Exp $ DISTNAME= dosbox-0.74 PKGREVISION= 4 @@ -13,6 +13,7 @@ LICENSE= gnu-gpl-v2 USE_LANGUAGES= c c++ GNU_CONFIGURE= yes CPPFLAGS.SunOS+= -DDISABLE_JOYSTICK +CPPFLAGS+= -fPIC LDFLAGS.SunOS+= -lsocket INSTALLATION_DIRS= share/doc/dosbox