diff options
author | obache <obache@pkgsrc.org> | 2012-02-09 08:49:58 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-02-09 08:49:58 +0000 |
commit | 201e1cccd8da058559885fdceba29ce6b3931c4a (patch) | |
tree | 1feb237000c1fe4a25d0a7beba3f6c1546988392 /devel | |
parent | 050f112100059e99154edc71f9c7aea33b9331b5 (diff) | |
download | pkgsrc-201e1cccd8da058559885fdceba29ce6b3931c4a.tar.gz |
Before using ABI, make sure include bsd.prefs.mk and check whether it is defined.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libmemcached/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/libmemcached/Makefile b/devel/libmemcached/Makefile index c0859f16d75..9cb44feb849 100644 --- a/devel/libmemcached/Makefile +++ b/devel/libmemcached/Makefile @@ -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 |