Require the -fPIC flag in CXXFLAGS. Hopefully fixes the build with

binutils-2.17 as kettenis@ mentioned in an email to ports@ this morning.
Still works as expected on my binutils-2.15 machine.
This commit is contained in:
bcallah 2015-05-19 03:55:01 +00:00
parent a4c57f7bfd
commit 4c7ecf0cbe

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.3 2015/03/27 08:16:16 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.4 2015/05/19 03:55:01 bcallah Exp $
COMMENT = good looking terminal emulator which mimics old CRT displays
DISTNAME = cool-retro-term-1.0.0
CATEGORIES = x11
REVISION = 1
REVISION = 2
HOMEPAGE = https://github.com/Swordfish90/cool-retro-term
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
@ -24,7 +24,7 @@ MODGCC4_LANGS = c++
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+3,-guic
MAKE_FLAGS = CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
MAKE_FLAGS = CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -fPIC"
FAKE_FLAGS = INSTALL_ROOT="${DESTDIR}"