From fd2092a8dba8bc050e99cf76ea675cf772653d8c Mon Sep 17 00:00:00 2001 From: danfe Date: Tue, 31 Oct 2006 13:32:09 +0000 Subject: - Really fix GCC issues and unbreak - Reformat pkg-descr and Makefile header - Pacify portlint(1) --- x11/decurs/Makefile | 14 +++++--------- x11/decurs/pkg-descr | 8 +++----- 2 files changed, 8 insertions(+), 14 deletions(-) (limited to 'x11') diff --git a/x11/decurs/Makefile b/x11/decurs/Makefile index 7b5123aeee05..ea0807a37534 100644 --- a/x11/decurs/Makefile +++ b/x11/decurs/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: decurs -# Date created: 19 January 2002 -# Whom: Miguel Mendez +# New ports collection makefile for: DeCurs +# Date created: 19 January 2002 +# Whom: Miguel Mendez # # $FreeBSD$ # @@ -23,11 +23,7 @@ GNU_CONFIGURE= yes .include .if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" -.endif - -.if ${OSVERSION} >= 600000 -BROKEN= "Does not compile on FreeBSD >= 6.0" +BROKEN= Does not compile on !i386 .endif post-patch: @@ -35,7 +31,7 @@ post-patch: ${FILESDIR}/decurs.exec > ${WRKSRC}/decurs.exec .if ${OSVERSION} > 500035 # Hack for contemporary GCC - @${REINPLACE_CMD} -e 's/, CppString \&str/, const CppString \&str/' \ + @${REINPLACE_CMD} -e 's/CppString \&str/const &/' \ ${WRKSRC}/src/cppstring.cc ${WRKSRC}/src/cppstring.hh @${REINPLACE_CMD} -E 's/^\/\/ friend//; s/([^:])ostream/\1std::ostream/g' \ ${WRKSRC}/src/cppstring.hh diff --git a/x11/decurs/pkg-descr b/x11/decurs/pkg-descr index c43aee740085..4fc3bfc40b48 100644 --- a/x11/decurs/pkg-descr +++ b/x11/decurs/pkg-descr @@ -1,7 +1,5 @@ DeCurs is a GTK+ based program that lets you edit you XFree86 mouse -cursors. It reads them from "bdf" -formatted font files. Now, don't -worry, DeCurs comes with one handy =). +cursors. It reads them from "bdf"-formatted font files. Now don't +worry, DeCurs comes with one handy. -WWW: http://varg.dyndns.org/psi/pub/code/decurs/index.html - --Adam Weinberger +WWW: http://varg.dyndns.org/psi/pub/code/decurs/ -- cgit