mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-libs/cgicc: New package.
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
31
dev-libs/cgicc/files/cgicc-3.2.19-optional-doc.patch
Normal file
31
dev-libs/cgicc/files/cgicc-3.2.19-optional-doc.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
--- a/configure.ac 2020-07-06 13:24:03.635374625 +0200
|
||||
+++ b/configure.ac 2020-07-06 13:24:20.005166171 +0200
|
||||
@@ -77,6 +77,13 @@
|
||||
AC_MSG_RESULT($cgicc_demos)
|
||||
AM_CONDITIONAL(DEMOS, test "$cgicc_demos" = yes)
|
||||
|
||||
+dnl enable/disable the docs, if specified
|
||||
+AC_ARG_ENABLE([doc],
|
||||
+ AS_HELP_STRING([--disable-doc], [Disable building documentation]))
|
||||
+AC_MSG_CHECKING([whether to build the cgicc docs])
|
||||
+AC_MSG_RESULT([$enable_doc])
|
||||
+AM_CONDITIONAL([DOCS], [test "x$enable_doc" != "xno"])
|
||||
+
|
||||
if test "$cgicc_demos" = yes; then
|
||||
AC_CONFIG_FILES(demo/Makefile)
|
||||
AC_CHECK_FUNCS([gethostbyaddr])
|
||||
|
||||
--- a/Makefile.am 2020-07-06 13:24:03.635374625 +0200
|
||||
+++ b/Makefile.am 2020-07-06 13:27:31.473732051 +0200
|
||||
@@ -10,6 +10,10 @@
|
||||
|
||||
ACLOCAL_AMFLAGS=
|
||||
|
||||
-SUBDIRS = cgicc doc support $(DEMO)
|
||||
+SUBDIRS = cgicc support $(DEMO)
|
||||
+
|
||||
+if DOCS
|
||||
+SUBDIRS += doc
|
||||
+endif
|
||||
|
||||
CLEANFILES = *~
|
||||
Reference in New Issue
Block a user