pkgsrc-Users archive

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

wip/libmemcached problem (and patch)



Hi,

I was trying to build wip/libmemcached and came upon this problem:

=> Verifying package for ../../wip/libmemcached
make: "/usr/pkgsrc/wip/libmemcached/Makefile" line 37: Malformed conditional (${ABI} != 64)
make: Fatal errors encountered -- cannot continue

make: stopped in /usr/pkgsrc/wip/libmemcached
*** Error code 1


I believe this is failing because I don't define ABI explicitly on my machine. This fixes it...


--- wip/libmemcached/Makefile   6 Oct 2009 09:09:00 -0000       1.2
+++ wip/libmemcached/Makefile   13 Oct 2009 18:20:06 -0000
@@ -34,7 +34,7 @@
 .endif

 # Otherwise 64bit build is forced on Solaris (tested on SX:CE)
-.if ${ABI} != 64
+.if !empty(ABI) && ${ABI} != 64
 CONFIGURE_ARGS+=       --disable-64bit
 .endif


Home | Main Index | Thread Index | Old Index