Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 08:31:49 GMT
From:      "Ilya A. Arkhipov" <rum1cro@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183883: [patch] irc/ircservices bug fixing, STAGE supporting.
Message-ID:  <201311120831.rAC8VngK040168@oldred.freebsd.org>
Resent-Message-ID: <201311120840.rAC8e07q067393@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183883
>Category:       ports
>Synopsis:       [patch] irc/ircservices bug fixing, STAGE supporting.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 12 08:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ilya A. Arkhipov
>Release:        FreeBSD 11.0-CURRENT
>Organization:
Rambler Internet Holding LLC
>Environment:
FreeBSD m1cro.park 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r256311M: Fri Oct 11 13:38:42 MSK 2013     root@m1cro.park:/usr/obj/usr/src/sys/MICROKERNEL  amd64
>Description:
[patch] irc/ircservices bug fixing, STAGE supporting.
- Now it always building(should use just gcc)
- Added STAGE support.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 333491)
+++ Makefile	(working copy)
@@ -11,17 +11,21 @@
 MAINTAINER=	rum1cro@yandex.ru
 COMMENT=	A system of IRC services for IRC networks
 
+LICENSE=	GPLv2
+
 USES=		gmake perl5
+USE_GCC=	4.2+
 USE_PERL5=	build
 HAS_CONFIGURE=	yes
 USE_RC_SUBR=	ircservices
+SUB_FILES=	pkg-message
 
 DIST_SUBDIR=	${PORTNAME}
-CONFIGURE_ARGS=	-bindest ${PREFIX}/sbin -datdest ${PREFIX}/etc/ircservices -cflags "${CFLAGS}" -cc "${CC}"
+CONFIGURE_ARGS=	-bindest ${STAGEDIR}${PREFIX}/sbin -datdest ${STAGEDIR}${PREFIX}/etc/ircservices -cflags "${CFLAGS}" -cc "${CC}"
+MAKE_JOBS_UNSAFE=yes
 
 IRCSERVICES_LANG?=	EN_US
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} > 700042
@@ -45,15 +49,9 @@
 		${WRKSRC}/defs.h
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "**********          IMPORTANT           **********"
-	@${ECHO_MSG} "The configuration directory has changed to ${PREFIX}/etc/ircservices"
-	@${ECHO_MSG} "Please copy your old config files there if updating"
-	@${ECHO_MSG} "**********          IMPORTANT           *********"
-	@${ECHO_MSG} ""
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
 .endif
 
 .include <bsd.port.post.mk>
Index: files/pkg-message.in
===================================================================
--- files/pkg-message.in	(revision 0)
+++ files/pkg-message.in	(working copy)
@@ -0,0 +1,4 @@
+**********          IMPORTANT           **********
+The configuration directory has changed to %%PREFIX%%/etc/ircservices
+Please copy your old config files there if updating
+**********          IMPORTANT           *********


>Release-Note:
>Audit-Trail:
>Unformatted:



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