Fix the failure to build when libyaml is installed.
Builds on amd64/i386 - with/without libyaml installed. Fix from maintainer Antti Harri <iku@openbsd.fi> Ok aja@
This commit is contained in:
parent
35f37fdfb6
commit
adebbe9b80
@ -1,7 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2012/02/29 08:25:32 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2012/03/05 17:57:21 nigel Exp $
|
||||
|
||||
COMMENT = open source reimplementation of the original X-Com
|
||||
DISTNAME = openxcom-20120217
|
||||
REVISION = 0
|
||||
CATEGORIES = games x11
|
||||
|
||||
HOMEPAGE = http://openxcom.ninex.info/
|
||||
@ -32,6 +33,10 @@ VMEM_WARNING = Yes
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/src/Engine/CrossPlatform.cpp
|
||||
|
||||
post-patch:
|
||||
find "${WRKSRC}" \( -name '*.h' -o -name '*.cpp' \) -print0 | \
|
||||
xargs -0r perl -pi -e 's,yaml.h,yaml-cpp/yaml.h,'
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/openxcom
|
||||
cd ${WRKDIST}/bin/data && find . | pax -rw ${PREFIX}/share/openxcom
|
||||
|
Loading…
Reference in New Issue
Block a user