diff options
author | dholland <dholland@pkgsrc.org> | 2012-04-29 22:49:31 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-04-29 22:49:31 +0000 |
commit | 061938ef4907c77379d1c10030b8d2f27c11823d (patch) | |
tree | cd64b60fa4337020cde1100705d5a2ebe2ba8ef8 /games | |
parent | ff435bab701b7b7a44dfad0780922f1e252b9e62 (diff) | |
download | pkgsrc-061938ef4907c77379d1c10030b8d2f27c11823d.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')
-rw-r--r-- | games/openttd/Makefile | 4 |
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") |