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

Re: [leafnode-list] Re: Building RPM for leafnode-2



Jörg P. Dietrich schrieb am 2004-01-17:

> This is not an RPM issue but a bug introduced in Makefile.am
> version 1.55.
> 
> The problem is here:
> 
> -sysconfdir     = @sysconfdir@
> -SYSCONFDIR     = $(sysconfdir)
> 
> Thus SYSCONFDIR is undefined in the Makefile and always empty in
> config.c

I forgot to change the capitalization and it didn't complain right away.
Apologize the mess. :-(

This should do:

Index: Makefile.am
===================================================================
RCS file: /var/CVS/leafnode-2/Makefile.am,v
retrieving revision 1.55
diff -u -r1.55 Makefile.am
--- Makefile.am	17 Jan 2004 03:50:29 -0000	1.55
+++ Makefile.am	18 Jan 2004 19:31:45 -0000
@@ -233,9 +233,9 @@
 	@echo  >.$@ "/* This file is automatically generated by Makefile"
 	@echo >>.$@ " * *** DO NOT EDIT ***"
 	@echo >>.$@ " */"
-	@echo >>.$@ "const char *bindir = \"$(BINDIR)\";"
+	@echo >>.$@ "const char *bindir = \"$(bindir)\";"
 	@echo >>.$@ "const char *def_spooldir = \"$(SPOOLDIR)\";"
-	@echo >>.$@ "const char *sysconfdir = \"$(SYSCONFDIR)\";"
+	@echo >>.$@ "const char *sysconfdir = \"$(sysconfdir)\";"
 	@echo >>.$@ "const char *version = \"@VERSION@\";"
 	@echo >>.$@ "const char *DEFAULTMTA = \"$(DEFAULTMTA)\";"
 	@echo >>.$@ "const char *RUNAS_USER = \"$(RUNAS_USER)\";"
--- leafnode-2.0.0.alpha20040116a/Makefile.in	2004-01-17 04:54:58.000000000 +0100
+++ Makefile.in	2004-01-18 20:31:51.000000000 +0100
@@ -1477,9 +1477,9 @@
 	@echo  >.$@ "/* This file is automatically generated by Makefile"
 	@echo >>.$@ " * *** DO NOT EDIT ***"
 	@echo >>.$@ " */"
-	@echo >>.$@ "const char *bindir = \"$(BINDIR)\";"
+	@echo >>.$@ "const char *bindir = \"$(bindir)\";"
 	@echo >>.$@ "const char *def_spooldir = \"$(SPOOLDIR)\";"
-	@echo >>.$@ "const char *sysconfdir = \"$(SYSCONFDIR)\";"
+	@echo >>.$@ "const char *sysconfdir = \"$(sysconfdir)\";"
 	@echo >>.$@ "const char *version = \"@VERSION@\";"
 	@echo >>.$@ "const char *DEFAULTMTA = \"$(DEFAULTMTA)\";"
 	@echo >>.$@ "const char *RUNAS_USER = \"$(RUNAS_USER)\";"

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
http://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/