pkgsrc-Users archive

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

gnustep-base fails w/ alternate PKG_SYSCONFBASE


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...

--- Makefile.orig       2008-03-08 14:03:43.000000000 -0500
+++ Makefile    2008-03-08 14:03:28.000000000 -0500
@@ -17,7 +17,7 @@
 GNU_CONFIGURE=         yes
 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