From 060321a80251d9b156b7e2cb1fb5f14cabd99b51 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 29 Apr 2012 22:49:31 +0000 Subject: Fix build with non-default PREFIX: tell it where to find liblzo. Otherwise it knows abotu /usr/pkg, looks there, and fails. --- games/openttd/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'games/openttd') diff --git a/games/openttd/Makefile b/games/openttd/Makefile index fe00990c335..e7b4362add4 100644 --- a/games/openttd/Makefile +++ b/games/openttd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2012/04/28 06:56:42 adam Exp $ +# $NetBSD: Makefile,v 1.44 2012/04/29 22:49:31 dholland Exp $ DISTNAME= openttd-1.2.0-source PKGNAME= ${DISTNAME:S/-source//} @@ -33,6 +33,8 @@ CONFIGURE_ARGS+= --shared-dir=${VARBASE}/games/openttd # Hack: built-in xz does not provide liblzma.pc, needed to configure PREFER_PKGSRC+= xz +CONFIGURE_ARGS+= --with-lzo2=${BUILDLINK_PREFIX.lzo}/lib + .include "../../mk/bsd.prefs.mk" .if (${OPSYS} == "DragonFly") -- cgit v1.2.3