From owner-svn-ports-all@freebsd.org Sun Jul 23 05:38:09 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 95EC4C7CE64; Sun, 23 Jul 2017 05:38:09 +0000 (UTC) (envelope-from acm@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 7125674667; Sun, 23 Jul 2017 05:38:09 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6N5c8UE024650; Sun, 23 Jul 2017 05:38:08 GMT (envelope-from acm@FreeBSD.org) Received: (from acm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6N5c8Lr024647; Sun, 23 Jul 2017 05:38:08 GMT (envelope-from acm@FreeBSD.org) Message-Id: <201707230538.v6N5c8Lr024647@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: acm set sender to acm@FreeBSD.org using -f From: Jose Alonso Cardenas Marquez Date: Sun, 23 Jul 2017 05:38:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446450 - in head/editors/coedit: . files X-SVN-Group: ports-head X-SVN-Commit-Author: acm X-SVN-Commit-Paths: in head/editors/coedit: . files X-SVN-Commit-Revision: 446450 X-SVN-Commit-Repository: ports 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: Sun, 23 Jul 2017 05:38:09 -0000 Author: acm Date: Sun Jul 23 05:38:08 2017 New Revision: 446450 URL: https://svnweb.freebsd.org/changeset/ports/446450 Log: - Add new RUN_DEPENDS (dfmt and dlang-tools ) - Fix a problem detecting compiler path. - Fix typos - Bump PORTREVISION Added: head/editors/coedit/files/patch-src_ce__compilers.pas (contents, props changed) Modified: head/editors/coedit/Makefile head/editors/coedit/files/patch-dastworx_build.sh Modified: head/editors/coedit/Makefile ============================================================================== --- head/editors/coedit/Makefile Sun Jul 23 05:25:09 2017 (r446449) +++ head/editors/coedit/Makefile Sun Jul 23 05:38:08 2017 (r446450) @@ -3,6 +3,7 @@ PORTNAME= coedit DISTVERSION= 3_update_3 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= https://github.com/BBasile/Coedit/archive/ DISTNAME= ${DISTVERSION} @@ -19,7 +20,9 @@ BUILD_DEPENDS= lazbuild:editors/lazarus \ RUN_DEPENDS= ldmd2:lang/ldc \ dscanner:devel/d-scanner \ dcd-client:devel/dcd-client \ - dcd-server:devel/dcd-server + dcd-server:devel/dcd-server \ + dfmt:devel/dfmt \ + ddemangle:lang/dlang-tools USE_FPC= cairo fcl-base fcl-db fcl-image fcl-json fcl-net fcl-registry \ fcl-stl fcl-web fcl-xml numlib openssl pasjpeg rtl-objpas \ @@ -65,7 +68,8 @@ post-patch: -e 's|%%D_LIB_DIR%%|${D_LIB_DIR}|g' \ -e 's|%%D_INCLUDE_DIR%%|${D_INCLUDE_DIR}|g' \ ${WRKSRC}/dastworx/build.sh - ${REINPLACE_CMD} -e 's|LINUX|FREEBSD|g' ${WRKSRC}/src/ce_common.pas + ${REINPLACE_CMD} -e 's|LINUX|UNIX|g' ${WRKSRC}/src/ce_common.pas ${WRKSRC}/src/ce_dcd.pas + ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/src/ce_compilers.pas pre-build: @${MKDIR} ${WRKSRC}/tmppcp @@ -75,7 +79,7 @@ pre-build: @cd ${LOCALBASE}/share/lazarus-${LAZARUS_VER} && \ ${FIND} * -type f -exec ${LN} -fs ${LOCALBASE}/share/lazarus-${LAZARUS_VER}/{} ${LAZARUS_DIR}/{} \; @${FIND} ${LAZARUS_DIR} -type d -name ${BUILDNAME} -type d -print0 | \ - ${XARGS} -0 ${RM} -R + ${XARGS} -0 ${RM} -R do-build: @cd ${WRKSRC}/dastworx && ${SH} build.sh Modified: head/editors/coedit/files/patch-dastworx_build.sh ============================================================================== --- head/editors/coedit/files/patch-dastworx_build.sh Sun Jul 23 05:25:09 2017 (r446449) +++ head/editors/coedit/files/patch-dastworx_build.sh Sun Jul 23 05:38:08 2017 (r446450) @@ -1,4 +1,4 @@ ---- dastworx/build.sh 2017-07-21 05:32:58 UTC +--- dastworx/build.sh.orig 2017-07-14 05:55:36 UTC +++ dastworx/build.sh @@ -1,13 +1,3 @@ -#iz sources @@ -22,7 +22,7 @@ +%%LDMD2_CMD%% ${dast} \ -O -release -inline -boundscheck=off \ --Isrc -I../etc/iz/import -I../etc/libdparse/src \ -+-Isrc -I%%D_INCLUDE_DIR%% -L%%D_LIB_DIR%%/libiz.a -L%%D_LIB_DIR%%/libdparse.a \ ++-Isrc -I%%D_INCLUDE_DIR%% -L%%D_LIB_DIR%%/libiz.a -L%%D_INCLUDE_DIR%%/libdparse.a \ -of../bin/dastworx #cleanup Added: head/editors/coedit/files/patch-src_ce__compilers.pas ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/coedit/files/patch-src_ce__compilers.pas Sun Jul 23 05:38:08 2017 (r446450) @@ -0,0 +1,57 @@ +--- src/ce_compilers.pas 2017-07-14 05:55:36 UTC ++++ src/ce_compilers.pas +@@ -674,6 +674,7 @@ begin + fPaths.DmdPhobosPath := path + '\src\phobos'; + end; + {$ENDIF} ++ {$IFDEF UNIX} + {$IFDEF LINUX} + if '/usr/bin/dmd'.fileExists then + fPaths.DmdExeName:='/usr/bin/dmd'; +@@ -682,6 +683,15 @@ begin + if '/usr/include/dmd/phobos'.dirExists then + fPaths.DmdPhobosPath:='/usr/include/dmd/phobos'; + {$ENDIF} ++ {$IFDEF BSD} ++ if '%%LOCALBASE%%/bin/dmd'.fileExists then ++ fPaths.DmdExeName:='%%LOCALBASE%%/bin/dmd'; ++ if '%%LOCALBASE%%/include/dmd/druntime/import'.dirExists then ++ fPaths.DmdRuntimePath:='%%LOCALBASE%%/include/dmd/druntime/import'; ++ if '%%LOCALBASE%%/include/dmd/phobos'.dirExists then ++ fPaths.DmdPhobosPath:='%%LOCALBASE%%/include/dmd/phobos'; ++ {$ENDIF} ++ {$ENDIF} + {$IFDEF DARWIN} + if '/usr/local/bin/dmd'.fileExists then + fPaths.DmdExeName:='/usr/local/bin/dmd'; +@@ -703,7 +713,11 @@ begin + fPaths.GdcExeName:= path; + str := TStringList.Create; + try +- path := path.extractFileDir.extractFilePath; ++{$IFDEF BSD} ++ path:= path.extractFileDir.extractFilePath+'/include'; ++{$ELSE} ++ path:= path.extractFileDir.extractFilePath; ++{$ENDIF} + FindAllDirectories(str, path, true); + for path in str do + if pos('include' + DirectorySeparator + 'd', path) > 0 then +@@ -729,11 +743,15 @@ begin + fPaths.LdcExeName:= path; + str := TStringList.Create; + try +- path := path.extractFileDir.extractFilePath; ++{$IFDEF BSD} ++ path:= path.extractFileDir.extractFilePath+'/include'; ++{$ELSE} ++ path:= path.extractFileDir.extractFilePath; ++{$ENDIF} + FindAllDirectories(str, path, true); + for path in str do + begin +- i := pos('import' + DirectorySeparator + 'ldc', path); ++ i := pos('d' + DirectorySeparator + 'ldc', path); + if i > 0 then + begin + fPaths.LdcRuntimePath:= path[1..i + 5];