pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/openttd Fix build with non-default PREFIX: tell ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5cbfac35d09
branches:  trunk
changeset: 603189:b5cbfac35d09
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Apr 29 22:49:31 2012 +0000

description:
Fix build with non-default PREFIX: tell it where to find liblzo. Otherwise
it knows abotu /usr/pkg, looks there, and fails.

diffstat:

 games/openttd/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 4ddecbfac3f5 -r b5cbfac35d09 games/openttd/Makefile
--- a/games/openttd/Makefile    Sun Apr 29 20:38:46 2012 +0000
+++ b/games/openttd/Makefile    Sun Apr 29 22:49:31 2012 +0000
@@ -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 @@
 # 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")



Home | Main Index | Thread Index | Old Index