summaryrefslogtreecommitdiff
path: root/emulators/dosbox
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-10-31 15:10:49 +0000
committerwiz <wiz@pkgsrc.org>2013-10-31 15:10:49 +0000
commite47d103e8c3a57386c6f6229c811deee5abab1c5 (patch)
tree5265abb47e449aa75ab0acaa3303c47b49d10c3a /emulators/dosbox
parent53588625877876e7cbcbb52bfb3ecc040aa23891 (diff)
downloadpkgsrc-e47d103e8c3a57386c6f6229c811deee5abab1c5.tar.gz
Add -fPIC to CPPFLAGS to fix build on NetBSD-6.99.24/amd64/clang/libc++.
Diffstat (limited to 'emulators/dosbox')
-rw-r--r--emulators/dosbox/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile
index 4d5b234e7b6..618efe16471 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