pkgsrc-Users archive

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

Re: gnustep-base fails w/ alternate PKG_SYSCONFBASE



Louis Guillaume wrote:
I have "PKG_SYSCONFBASE = /etc" in mk.conf and it causes devel/gnustep-base to fail on NetBSD. This is on NetBSD-4, pkgsrc-2007Q4.

checking for default GNUstep configuration file to use... /usr/pkg/etc/GNUstep.conf
fail: file "/usr/pkg/etc/GNUstep.conf" does not exist
configure: error: Please run configure again with the --disable-importing-config-file option or specifying an alternative file using the --with-default-config= option
*** Error code 1


... I was able to fix this by modifying the gnustep-make package's Makefile like this...



Here is a better patch...

--- devel/gnustep-make/Makefile.orig    2008-03-08 14:03:43.000000000 -0500
+++ devel/gnustep-make/Makefile 2008-03-08 14:03:28.000000000 -0500
@@ -17,7 +17,7 @@
 GNU_CONFIGURE=         yes
 CONFIGURE_ENV+=                INSTALL_PROGRAM=${INSTALL_SCRIPT:Q}
 CONFIGURE_ARGS+=       --disable-importing-config-file
-CONFIGURE_ARGS+=       --with-config-file=${PREFIX}/etc/GNUstep.conf
+CONFIGURE_ARGS+=       --with-config-file=${PKG_SYSCONFDIR}/GNUstep.conf
 MAKE_FILE=             GNUmakefile

 CONF_FILES+=           ${PREFIX}/share/examples/GNUstep/GNUstep.conf \



Home | Main Index | Thread Index | Old Index