svn commit: r473866 - head/devel/cvs-devel

Steve Wills swills at FreeBSD.org
Wed Jul 4 04:31:47 UTC 2018


Author: swills
Date: Wed Jul  4 04:31:45 2018
New Revision: 473866
URL: https://svnweb.freebsd.org/changeset/ports/473866

Log:
  devel/cvs-devel: add knob for PAM support
  
  PR:		229130
  Submitted by:	Kan Sasaki <sasaki at fcc.ad.jp>
  Approved by:	maintainer timeout (bdheeman at gmail.com, >2 weeks)

Modified:
  head/devel/cvs-devel/Makefile   (contents, props changed)

Modified: head/devel/cvs-devel/Makefile
==============================================================================
--- head/devel/cvs-devel/Makefile	Wed Jul  4 04:31:41 2018	(r473865)
+++ head/devel/cvs-devel/Makefile	Wed Jul  4 04:31:45 2018	(r473866)
@@ -24,6 +24,15 @@ INFO=		cvs cvsclient
 CVS_SITE?=	:pserver:anoncvs at anoncvs.jp.FreeBSD.org:/home/ncvs
 CVS_VER?=	v${PORTVERSION:S//_/g}
 
+OPTIONS_DEFINE=	PAM
+PAM_DESC=	PAM support
+
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MPAM}
+CONFIGURE_ARGS+=--enable-pam
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} 's/${PORTVERSION:S/./\./g}/&-devel/g' \
 		${WRKSRC}/configure
@@ -46,4 +55,4 @@ generate-patch:
 	  -e 's,\$$FreeBSD: ,FreeBSD: ,' \
 	  >> ${FILESDIR}/patch-freebsdlocal
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-all mailing list