--- build/pkgs/pynac/spkg-install.orig	2014-05-06 11:21:42.000000000 +0000
+++ build/pkgs/pynac/spkg-install	2014-07-21 04:36:42.000000000 +0000
@@ -31,8 +31,12 @@
 
 build_pynac()
 {
+    chmod -R g-w ${PYNACDIR}
     cd ${PYNACDIR}
     PKG_CONFIG_PATH=${SAGE_LOCAL}/lib/pkgconfig; export PKG_CONFIG_PATH
+    aclocal
+    automake --add-missing
+    autoconf
     ./configure --disable-static --prefix=${SAGE_LOCAL} --libdir="$SAGE_LOCAL/lib"
     $MAKE
     if [ $? -ne 0 ]; then
