php53: fix build on darwin (close #748)

* add empty unix.h header
* build with kerberos
* ensure the binary has no extension
This commit is contained in:
Jason \"Don\" O'Conal
2013-07-14 11:47:14 +10:00
committed by Vladimír Čunát
parent 5b4e0207ba
commit b4105cfaff
3 changed files with 19 additions and 4 deletions

View File

@@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
configurePhase = ''
phpize
./configure --prefix=$out
'' + stdenv.lib.optionalString stdenv.isDarwin ''
# looks for this file for some reason -- isn't needed
touch unix.h
'';
buildPhase = ''