From owner-svn-ports-head@FreeBSD.ORG Sat Aug 24 09:58:31 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 70FDF414; Sat, 24 Aug 2013 09:58:31 +0000 (UTC) (envelope-from danfe@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 43B6E2535; Sat, 24 Aug 2013 09:58:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7O9wVkN090183; Sat, 24 Aug 2013 09:58:31 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7O9wUBV090180; Sat, 24 Aug 2013 09:58:30 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201308240958.r7O9wUBV090180@svn.freebsd.org> From: Alexey Dokuchaev Date: Sat, 24 Aug 2013 09:58:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325291 - in head/multimedia/kissdx: . 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: Sat, 24 Aug 2013 09:58:31 -0000 Author: danfe Date: Sat Aug 24 09:58:30 2013 New Revision: 325291 URL: http://svnweb.freebsd.org/changeset/ports/325291 Log: - Sadly, have to USE_GCC (any version) because of nested functions (and no immediately obvious way to get rid of them) - Some non-functional changes: fix a few noticed whitespace bugs and a typo Modified: head/multimedia/kissdx/Makefile head/multimedia/kissdx/files/kissdx.in head/multimedia/kissdx/files/pkg-message.in Modified: head/multimedia/kissdx/Makefile ============================================================================== --- head/multimedia/kissdx/Makefile Sat Aug 24 09:36:08 2013 (r325290) +++ head/multimedia/kissdx/Makefile Sat Aug 24 09:58:30 2013 (r325291) @@ -18,6 +18,7 @@ LIB_DEPENDS= libgd.so:${PORTSDIR}/graphi USES= iconv USE_DOS2UNIX= yes +USE_GCC= any # XXX: uses nested functions MAKE_ENV= FreeBSD=defined MAN1= kissdx.1 @@ -33,10 +34,10 @@ PORTDOCS= README post-patch: @${REINPLACE_CMD} -e 's|Linux|Unix| ; s|/etc/|${PREFIX}&|' \ ${WRKSRC}/kissdx.1 - @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|' ${WRKSRC}/config.c + @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}&|' ${WRKSRC}/config.c @${RM} ${WRKSRC}/kissdx.o # Fix parallel (-jX) builds: sanitize dependencies - @${REINPLACE_CMD} -e 's|^\.o :|kissdx: $$(OBJS)| ; \ + @${REINPLACE_CMD} -e 's|^\.o :|${PORTNAME}: $$(OBJS)| ; \ /^all:/s| $$(OBJS)||' ${WRKSRC}/Makefile do-install: Modified: head/multimedia/kissdx/files/kissdx.in ============================================================================== --- head/multimedia/kissdx/files/kissdx.in Sat Aug 24 09:36:08 2013 (r325290) +++ head/multimedia/kissdx/files/kissdx.in Sat Aug 24 09:58:30 2013 (r325291) @@ -1,16 +1,15 @@ #!/bin/sh # -# This script start and stop the KiSS DX deamon, using the rc.subr functionality +# Script to start and stop the KiSS DX deamon, using the rc.subr functionality # # Add the following lines to /etc/rc.conf to enable this service at boot time: # -# kissdx_enable="YES" A -# (kissdx="YES" for NetBSD) +# kissdx_enable="YES" (kissdx="YES" for NetBSD) # . /etc/rc.subr -#Name of program to start +# Name of program to start name="kissdx" # Full path to program Modified: head/multimedia/kissdx/files/pkg-message.in ============================================================================== --- head/multimedia/kissdx/files/pkg-message.in Sat Aug 24 09:36:08 2013 (r325290) +++ head/multimedia/kissdx/files/pkg-message.in Sat Aug 24 09:58:30 2013 (r325291) @@ -1,5 +1,5 @@ The following line needs to be added to /etc/rc.conf in order to start the -deamon at boot time. +daemon at boot time. kissdx_enable="YES" (or kissdx="YES" for NetBSD)