Add -fPIC to CXXFLAGS to fix linking with binutils 2.17.

This fixes games/speeddreams.
This commit is contained in:
ajacoutot 2015-05-25 13:18:24 +00:00
parent ed10186e70
commit 6cc3efb25a

View File

@ -1,13 +1,13 @@
# $OpenBSD: Makefile,v 1.11 2013/11/03 07:52:02 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.12 2015/05/25 13:18:24 ajacoutot Exp $
COMMENT = suite of portable game libraries
DISTNAME = plib-1.8.5
REVISION = 4
REVISION = 5
CATEGORIES = devel games
HOMEPAGE = http://plib.sourceforge.net/
MASTER_SITES = ${HOMEPAGE}/dist/
#MASTER_SITES = ${HOMEPAGE}/dist/
MAINTAINER = Gallon Sylvestre <ccna.syl@gmail.com>
@ -18,5 +18,6 @@ PERMIT_PACKAGE_CDROM = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --with-GL=${X11BASE}
USE_X11 = Yes
CXXFLAGS += -fPIC
.include <bsd.port.mk>