Date: Thu, 12 Sep 2013 15:12:49 +0000 (UTC) From: Roman Bogorodskiy <novel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327076 - in head/russian/prawda: . files Message-ID: <201309121512.r8CFCnjB000789@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bogordskiy@inbox.ru> -# # $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 ;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309121512.r8CFCnjB000789>