summaryrefslogtreecommitdiff
path: root/games/openttd
diff options
context:
space:
mode:
authordholland <dholland>2012-04-29 22:49:31 +0000
committerdholland <dholland>2012-04-29 22:49:31 +0000
commit060321a80251d9b156b7e2cb1fb5f14cabd99b51 (patch)
treecd64b60fa4337020cde1100705d5a2ebe2ba8ef8 /games/openttd
parentb86266459955377adbcff6462f9d9085274df6f0 (diff)
downloadpkgsrc-060321a80251d9b156b7e2cb1fb5f14cabd99b51.tar.gz
Fix build with non-default PREFIX: tell it where to find liblzo. Otherwise
it knows abotu /usr/pkg, looks there, and fails.
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/Makefile4
1 files changed, 3 insertions, 1 deletions
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")