svn commit: r531623 - head/www/e2guardian
Renato Botelho
garga at FreeBSD.org
Mon Apr 13 17:55:22 UTC 2020
Author: garga
Date: Mon Apr 13 17:55:21 2020
New Revision: 531623
URL: https://svnweb.freebsd.org/changeset/ports/531623
Log:
www/e2guardian: Simplify Makefile
- Add USES=localbase instead of touching CFLAGS/CPPFLAGS
- Remove redundant localstatedir=/var from configure_ARGS, it's already
passed by default mechanism
PR: 244437
Approved by: Marcello Coutinho <marcellocoutinho at gmail.com> (maintainer)
Sponsored by: Rubicon Communications, LLC (Netgate)
Modified:
head/www/e2guardian/Makefile
Modified: head/www/e2guardian/Makefile
==============================================================================
--- head/www/e2guardian/Makefile Mon Apr 13 17:44:01 2020 (r531622)
+++ head/www/e2guardian/Makefile Mon Apr 13 17:55:21 2020 (r531623)
@@ -15,14 +15,14 @@ LICENSE= GPLv2
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR}
LIB_DEPENDS= libpcre.so:devel/pcre
-USES= autoreconf compiler:c++11-lang libtool pkgconfig python
+USES= autoreconf compiler:c++11-lang libtool localbase pkgconfig \
+ python
USE_GITHUB= yes
USE_CXXSTD= c++11
USE_RC_SUBR= e2guardian
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var \
- --with-logdir=/var/log \
+CONFIGURE_ARGS= --with-logdir=/var/log \
--with-piddir=/var/run
OPTIONS_RADIO= AV
@@ -43,9 +43,6 @@ DEBUG_DESC= Enable debug build mode
SSL_MITM_DESC= Enable support for the SSL MITM plugin
CONFDIR= ${PREFIX}/etc/e2guardian
-
-CPPFLAGS+= -I${LOCALBASE}/include
-CFLAGS+= -I${LOCALBASE}/include
CLISCAN_CONFIGURE_ENABLE= commandline
CLAMD_CONFIGURE_ENABLE= clamd
More information about the svn-ports-all
mailing list