From owner-svn-ports-all@freebsd.org Mon Jan 9 09:48:55 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA7D7CA57D9; Mon, 9 Jan 2017 09:48:55 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B9B301075; Mon, 9 Jan 2017 09:48:55 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v099msRe098670; Mon, 9 Jan 2017 09:48:54 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v099ms2i098669; Mon, 9 Jan 2017 09:48:54 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201701090948.v099ms2i098669@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 9 Jan 2017 09:48:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430929 - in head/devel/ocaml-pcre: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 09:48:56 -0000 Author: amdmi3 Date: Mon Jan 9 09:48:54 2017 New Revision: 430929 URL: https://svnweb.freebsd.org/changeset/ports/430929 Log: - Remove always false OSVERSION condition - Switch to options helpers - Cosmetic fixes Deleted: head/devel/ocaml-pcre/files/ Modified: head/devel/ocaml-pcre/Makefile Modified: head/devel/ocaml-pcre/Makefile ============================================================================== --- head/devel/ocaml-pcre/Makefile Mon Jan 9 09:44:12 2017 (r430928) +++ head/devel/ocaml-pcre/Makefile Mon Jan 9 09:48:54 2017 (r430929) @@ -25,21 +25,14 @@ DOCSDIR= ${PREFIX}/share/doc/pcre-ocaml OPTIONS_DEFINE= DOCS EXAMPLES -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -# unknown warning flag for old gcc -EXTRA_PATCHES+= ${FILESDIR}/extra-patch--Wno-keyword-macro -.endif - post-patch: @${REINPLACE_CMD} -e 's|$$prefix"/"share|${STAGEDIR}${PREFIX}/share|' \ - -e '/datarootdir/s|$$pkg_name|&-ocaml|' \ + -e '/datarootdir/s|$$pkg_name|&-ocaml|' \ ${WRKSRC}/setup.ml @${REINPLACE_CMD} -e 's| safe_string,||' ${WRKSRC}/_tags -post-install: +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} + @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include