From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 28 17:10:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A981C3AC for ; Fri, 28 Jun 2013 17:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 905E61960 for ; Fri, 28 Jun 2013 17:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5SHA0rg057260 for ; Fri, 28 Jun 2013 17:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5SHA0Bn057259; Fri, 28 Jun 2013 17:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 28 Jun 2013 17:10:00 GMT Resent-Message-Id: <201306281710.r5SHA0Bn057259@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "r4721@tormail.org" Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 56C21164 for ; Fri, 28 Jun 2013 17:05:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2EF1A1932 for ; Fri, 28 Jun 2013 17:05:39 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5SH5cFm029048 for ; Fri, 28 Jun 2013 17:05:38 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5SH5cra029044; Fri, 28 Jun 2013 17:05:38 GMT (envelope-from nobody) Message-Id: <201306281705.r5SH5cra029044@oldred.freebsd.org> Date: Fri, 28 Jun 2013 17:05:38 GMT From: "r4721@tormail.org" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/180063: [patch] remove gcc dependency from net/tightvnc X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2013 17:10:00 -0000 >Number: 180063 >Category: ports >Synopsis: [patch] remove gcc dependency from net/tightvnc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 28 17:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: r4721@tormail.org >Release: >Organization: >Environment: >Description: due to the devel/gccmakedep and imake fixes, this port no longer needs GCC and can build in a world with WITH_CLANG_IS_CC and WITHOUT_GCC. * add LICENSE * remove shared library version from depends * remove GCC requirement * remove stale comment * use REINPLACE_CMD instead of perl >How-To-Repeat: >Fix: Patch attached with submission follows: Index: net/tightvnc/Makefile =================================================================== --- net/tightvnc/Makefile (revision 321959) +++ net/tightvnc/Makefile (working copy) @@ -3,8 +3,8 @@ PORTNAME= tightvnc PORTVERSION= 1.3.10 -PORTREVISION= 3 -CATEGORIES= net +PORTREVISION= 4 +CATEGORIES= net java MASTER_SITES= SF/vnc-tight/TightVNC-unix/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}_unixsrc @@ -11,20 +11,19 @@ MAINTAINER= itetcu@FreeBSD.org COMMENT= Enhanced version of VNC -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENCE.TXT + +LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg RUN_DEPENDS= showrgb:${PORTSDIR}/x11/rgb \ xauth:${PORTSDIR}/x11/xauth \ xorg-fonts>=7.2:${PORTSDIR}/x11-fonts/xorg-fonts MAKE_JOBS_UNSAFE= yes - CONFLICTS= tridiavnc-[0-9]* vnc-[0-9]* - WRKSRC= ${WRKDIR}/vnc_unixsrc - USES= imake CFLAGS+= -Wno-return-type -USE_GCC= yes USE_BZIP2= yes USE_PERL5= yes USE_XORG= xaw @@ -36,9 +35,6 @@ OPTIONS_DEFINE= JVNC_VIEWER JVNC_VIEWER_DESC= Install Java-based vnc viewer -#.include - -### use me when 5.5, 6.1, 6.2R die or we do impement something in b.p.m .include .if ${PORT_OPTIONS:MJVNC_VIEWER} @@ -61,12 +57,12 @@ post-patch: .for file in vncviewer/Imakefile Xvnc/config/cf/vnclibs.def - @${PERL} -pi -e "s,%%LOCALBASE%%,${PREFIX},g" ${WRKSRC}/${file} + @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${PREFIX},g" ${WRKSRC}/${file} .endfor - @${PERL} -pi -e "s,/usr/local/vnc/classes,${DATADIR}/classes,g ; \ - s,^#!/usr/bin/perl,#!${PERL},g" ${WRKSRC}/vncserver - @${PERL} -pi -e "s,%%CC%%,${CC},g ; \ - s|%%CFLAGS%%|${CFLAGS}|g" ${WRKSRC}/Xvnc/config/cf/FreeBSD.cf + @${REINPLACE_CMD} -e "s,/usr/local/vnc/classes,${DATADIR}/classes,g" \ + -e "s,^#!/usr/bin/perl,#!${PERL},g" ${WRKSRC}/vncserver + @${REINPLACE_CMD} -e "s,%%CC%%,${CC},g" -e "s|%%CFLAGS%%|${CFLAGS}|g" \ + ${WRKSRC}/Xvnc/config/cf/FreeBSD.cf do-install: @(cd ${WRKSRC}; ./vncinstall ${PREFIX}/bin ${PREFIX}/man) >Release-Note: >Audit-Trail: >Unformatted: