SOURCES: ekg2-no_scripts.patch (NEW) - fix building without perl, ...
sparky
sparky at pld-linux.org
Sun Jun 25 23:43:39 CEST 2006
Author: sparky Date: Sun Jun 25 21:43:39 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix building without perl, python or both
---- Files affected:
SOURCES:
ekg2-no_scripts.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/ekg2-no_scripts.patch
diff -u /dev/null SOURCES/ekg2-no_scripts.patch:1.1
--- /dev/null Sun Jun 25 23:43:39 2006
+++ SOURCES/ekg2-no_scripts.patch Sun Jun 25 23:43:33 2006
@@ -0,0 +1,41 @@
+--- ekg2-20060622/configure.ac~ 2006-06-25 23:04:08.000000000 +0200
++++ ekg2-20060622/configure.ac 2006-06-25 23:25:02.000000000 +0200
+@@ -34,6 +34,7 @@
+ AC_SUBST(COMPAT)
+ AC_SUBST(DLLIB)
+ AC_SUBST(PLUGINS)
++AC_SUBST(CONTRIB)
+
+ dnl FreeBSD
+ AC_NEED_STDINT_H
+@@ -351,6 +352,8 @@
+ fi
+ fi
+
++CONTRIB=""
++
+ AC_ARG_WITH(perl,
+ [ --without-perl Compile without perl support (perl plugin)])
+
+@@ -361,6 +364,7 @@
+ AC_CONFIG_FILES([plugins/perl/Makefile])
+ AC_CONFIG_FILES([contrib/perl/Makefile])
+ PLUGINS="$PLUGINS perl"
++ CONTRIB="$CONTRIB perl"
+ fi
+ fi
+
+@@ -375,6 +379,7 @@
+ AC_CONFIG_FILES([plugins/python/Makefile])
+ AC_CONFIG_FILES([contrib/python/Makefile])
+ PLUGINS="$PLUGINS python"
++ CONTRIB="$CONTRIB python"
+ fi
+ fi
+
+--- ekg2-20060622/contrib/Makefile.am~ 2006-06-08 11:01:22.000000000 +0200
++++ ekg2-20060622/contrib/Makefile.am 2006-06-25 23:30:27.000000000 +0200
+@@ -1,2 +1,2 @@
+ EXTRA_DIST =
+-SUBDIRS = perl python
++SUBDIRS = @CONTRIB@
================================================================
More information about the pld-cvs-commit
mailing list