Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2013 09:58:30 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325291 - in head/multimedia/kissdx: . files
Message-ID:  <201308240958.r7O9wUBV090180@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308240958.r7O9wUBV090180>