Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2020 17:55:21 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531623 - head/www/e2guardian
Message-ID:  <202004131755.03DHtLE5049477@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004131755.03DHtLE5049477>