diff options
author | dholland <dholland> | 2012-04-29 22:49:31 +0000 |
---|---|---|
committer | dholland <dholland> | 2012-04-29 22:49:31 +0000 |
commit | c06fc31e77f40b673fca92a39a8a280ab3948e33 (patch) | |
tree | cd64b60fa4337020cde1100705d5a2ebe2ba8ef8 /games | |
parent | 66700d1aeda31a955e062926d82b15ff741a030f (diff) | |
download | pkgsrc-c06fc31e77f40b673fca92a39a8a280ab3948e33.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") |