Before using ABI, make sure include bsd.prefs.mk and check whether it is defined.
This commit is contained in:
parent
99a2b322a7
commit
eb0a70f42d
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2012/02/07 11:34:00 fhajny Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2012/02/09 08:49:58 obache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= libmemcached-1.0.4
|
||||
|
@ -19,8 +19,9 @@ USE_LIBTOOL= yes
|
|||
|
||||
PKGCONFIG_OVERRIDE+= support/libmemcached.pc.in
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
# Avoid building 64bit on a 32bit bootstrap (affects SunOS)
|
||||
.if empty(ABI:M64)
|
||||
.if defined(ABI) && empty(ABI:M64)
|
||||
CONFIGURE_ARGS+= --disable-64bit
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue