svn commit: r326716 - head/net/freebsd-uucp

Dirk Meyer dinoex at FreeBSD.org
Sun Sep 8 10:37:52 UTC 2013


Author: dinoex
Date: Sun Sep  8 10:37:51 2013
New Revision: 326716
URL: http://svnweb.freebsd.org/changeset/ports/326716

Log:
  - fix build after r325411
  cvs port is nedded only on FreeBSD-10

Modified:
  head/net/freebsd-uucp/Makefile

Modified: head/net/freebsd-uucp/Makefile
==============================================================================
--- head/net/freebsd-uucp/Makefile	Sun Sep  8 09:40:53 2013	(r326715)
+++ head/net/freebsd-uucp/Makefile	Sun Sep  8 10:37:51 2013	(r326716)
@@ -28,7 +28,8 @@ BPKGNAME=	base-uucp-1.06.1
 
 # fix errros for -std=iso9899:1999 in FreeBSD 5.1
 MAKE_ENV+=	CSTD=gnu99
-BUILD_DEPENDS=	cvs:${PORTSDIR}/devel/cvs
+
+.include <bsd.port.pre.mk>
 
 .if defined(WITH_PAM)
 PAM_SUFFIX=	-pam
@@ -42,6 +43,10 @@ CONFLICTS?=	freebsd-uucp-pam-1.*
 MAKE_ENV+=	WITH_ENCRYPTED_PASSWORDS=1
 .endif
 
+.if ${OSVERSION} > 1000000
+BUILD_DEPENDS=	cvs:${PORTSDIR}/devel/cvs
+.endif
+
 post-extract:
 	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
 		${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} extract)
@@ -123,4 +128,4 @@ base-package:
 			${PKG_DBDIR}/${BPKGNAME}/+COMMENT; \
 	fi
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-all mailing list