From owner-svn-ports-head@FreeBSD.ORG Thu Sep 12 15:12:50 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8773B67B; Thu, 12 Sep 2013 15:12:50 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5AD4129A3; Thu, 12 Sep 2013 15:12:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8CFCopD000791; Thu, 12 Sep 2013 15:12:50 GMT (envelope-from novel@svn.freebsd.org) Received: (from novel@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8CFCnjB000789; Thu, 12 Sep 2013 15:12:49 GMT (envelope-from novel@svn.freebsd.org) Message-Id: <201309121512.r8CFCnjB000789@svn.freebsd.org> From: Roman Bogorodskiy Date: Thu, 12 Sep 2013 15:12:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327076 - in head/russian/prawda: . 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-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Sep 2013 15:12:50 -0000 Author: novel Date: Thu Sep 12 15:12:49 2013 New Revision: 327076 URL: http://svnweb.freebsd.org/changeset/ports/327076 Log: - Fix build with clang [1] - Improve CXX respect (some makefiles had g++ hardcoded before) - Convert to new header format - Drop maintainership Reported by: pkg-fallout [1] Added: head/russian/prawda/files/patch-src-face-main.cpp (contents, props changed) Modified: head/russian/prawda/Makefile Modified: head/russian/prawda/Makefile ============================================================================== --- head/russian/prawda/Makefile Thu Sep 12 14:49:27 2013 (r327075) +++ head/russian/prawda/Makefile Thu Sep 12 15:12:49 2013 (r327076) @@ -1,9 +1,4 @@ -# New ports collection makefile for: prawda -# Date created: 2004-07-28 -# Whom: Roman Bogorodskiy -# # $FreeBSD$ -# PORTNAME= prawda PORTVERSION= 0.3.0 @@ -11,7 +6,7 @@ PORTREVISION= 4 CATEGORIES= russian MASTER_SITES= http://www.prawda.newmail.ru/ -MAINTAINER= novel@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= English-Russian translator USE_BZIP2= yes @@ -22,6 +17,8 @@ CXXFLAGS+= -I${LOCALBASE}/include -L${LO post-patch: @${REINPLACE_CMD} -e "s|ulong|unsigned long|g;;s|malloc.h|stdlib.h|g" ${WRKSRC}/src/face/video_x.cpp @${REINPLACE_CMD} -e "s|g++|${CXX} ${CXXFLAGS}|g" ${WRKSRC}/src/bin/makefile.exe + @${FIND} ${WRKSRC} -name makefile | ${XARGS} \ + ${REINPLACE_CMD} -e "s|g++|${CXX} ${CXXFLAGS}|g" @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/bin/makefile ${WRKSRC}/src/face/main.cpp do-build: Added: head/russian/prawda/files/patch-src-face-main.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/russian/prawda/files/patch-src-face-main.cpp Thu Sep 12 15:12:49 2013 (r327076) @@ -0,0 +1,11 @@ +--- src/face/main.cpp.orig 2013-09-12 18:53:29.000000000 +0400 ++++ src/face/main.cpp 2013-09-12 18:53:35.000000000 +0400 +@@ -223,7 +223,7 @@ + /***************************************************************************/ + + /***************************************************************************/ +-int main( short argc, char *argv[] ) ++int main( int argc, char *argv[] ) + { char r,r1 ; + char Str[200]="" ; + short sx=80,sy=50 ;