- Fix build with GCRYPT option by taking out -Werror
- Remove patches to Makefile.in and aclocal.m4 because they are regenerated Reported by: xjflyttp@gmail.com
This commit is contained in:
parent
12d23e4bdf
commit
d081961986
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366979
2 changed files with 3 additions and 17 deletions
|
@ -458,18 +458,15 @@ CONFIGURE_ARGS+=--without-libxmms --disable-xmms
|
|||
PLIST_SUB+= XMMS="@comment "
|
||||
.endif
|
||||
|
||||
AUTOTOOLSFILES= aclocal.m4
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|1.11.1|%%AUTOMAKE_APIVER%%|g' \
|
||||
-e 's|2.67|%%AUTOCONF_VERSION%%|g' \
|
||||
${WRKSRC}/aclocal.m4
|
||||
@${REINPLACE_CMD} 's/-Werror//' \
|
||||
${WRKSRC}/configure.ac ${WRKSRC}/src/Makefile.am \
|
||||
${WRKSRC}/src/libcollectdclient/Makefile.am
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's;@prefix@/var/;/var/;' \
|
||||
-e 's;/var/lib/;/var/db/;' \
|
||||
-e 's;@localstatedir@/lib/;/var/db/;' \
|
||||
${WRKSRC}/src/collectd.conf.in
|
||||
@${REINPLACE_CMD} -e '/$$[(]mkinstalldirs)/d' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's;/etc/collection\.conf;${WWWDIR}/collection.conf;' \
|
||||
${WRKSRC}/contrib/collection.cgi
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- ./src/Makefile.in.orig 2013-05-21 23:58:34.000000000 +0000
|
||||
+++ ./src/Makefile.in 2013-05-21 23:59:22.000000000 +0000
|
||||
@@ -2107,7 +2107,7 @@
|
||||
AM_CPPFLAGS = -DPREFIX='"${prefix}"' \
|
||||
-DCONFIGFILE='"${sysconfdir}/${PACKAGE_NAME}.conf"' \
|
||||
-DLOCALSTATEDIR='"${localstatedir}"' \
|
||||
- -DPKGLOCALSTATEDIR='"${localstatedir}/lib/${PACKAGE_NAME}"' \
|
||||
+ -DPKGLOCALSTATEDIR='"${localstatedir}/db/${PACKAGE_NAME}"' \
|
||||
$(am__append_2) -DPLUGINDIR='"${pkglibdir}"' \
|
||||
-DPKGDATADIR='"${pkgdatadir}"'
|
||||
collectd_SOURCES = collectd.c collectd.h \
|
Loading…
Reference in a new issue