[patch] irc/ircservices bug fixing, STAGE supporting. - Now it always building(should use just gcc) - Added STAGE support. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->madpilot I'll take it.
12.11.2013, 12:40, "FreeBSD-gnats-submit@FreeBSD.org" <FreeBSD-gnats-submit@FreeBSD.org>: > Thank you very much for your problem report. > It has the internal identification `ports/183883'. > The individual assigned to look at your > report is: freebsd-ports-bugs. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=183883 > >> Category: ports >> Responsible: freebsd-ports-bugs >> Synopsis: [patch] irc/ircservices bug fixing, STAGE supporting. >> Arrival-Date: Tue Nov 12 08:40:00 UTC 2013 Hi there, Patch with some fixes was attached. -- With Best Regards, Ilya A. Arkhipov
State Changed From-To: open->feedback Ask for maintainer fix. Absolute paths to staging dir get hardcoded in the binary, maintainer was informed via IRC.
State Changed From-To: feedback->open Maintainer has sent new patch via email.
Author: madpilot Date: Tue Nov 26 00:15:25 2013 New Revision: 334909 URL: http://svnweb.freebsd.org/changeset/ports/334909 Log: - Force gcc usage, port depends on gnu extensions - Add LICENSE - Convert to staging - Remove compatibility bits for unsupported OS versions PR: ports/183883 Submitted by: Ilya A. Arkhipov <rum1cro@yandex.ru> (maintainer) Modified: head/irc/ircservices/Makefile Modified: head/irc/ircservices/Makefile ============================================================================== --- head/irc/ircservices/Makefile Tue Nov 26 00:07:41 2013 (r334908) +++ head/irc/ircservices/Makefile Tue Nov 26 00:15:25 2013 (r334909) @@ -11,23 +11,25 @@ MASTER_SITES= http://www.ircservices.za. MAINTAINER= rum1cro@yandex.ru COMMENT= A system of IRC services for IRC networks +LICENSE= GPLv2 + USES= gmake perl5 +USE_GCC= any 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 ${PREFIX}/sbin -datdest ${PREFIX}/etc/ircservices \ + -cflags "${CFLAGS}" -cc "${CC}" +MAKE_JOBS_UNSAFE= yes +NEED_ROOT= yes IRCSERVICES_LANG?= EN_US -NO_STAGE= yes .include <bsd.port.pre.mk> -.if ${OSVERSION} > 700042 -CFLAGS+= -fno-stack-protector -.endif - .if ${ARCH} == "amd64" CFLAGS+= -fPIC .endif @@ -41,19 +43,19 @@ pre-patch: @${ECHO_MSG} "DE EN_US ES FR HU IT JA_EUC JA_SJIS NL PT TR" post-patch: - @${REINPLACE_CMD} -e 's|LANG_EN_US|LANG_${IRCSERVICES_LANG}|' \ + @${REINPLACE_CMD} -e 's#LANG_EN_US#LANG_${IRCSERVICES_LANG}#' \ ${WRKSRC}/defs.h +post-build: + @${REINPLACE_CMD} -e 's#BINDEST=.*#BINDEST=${STAGEDIR}${PREFIX}/sbin# ; \ + s#DATDEST=.*#DATDEST=${STAGEDIR}${PREFIX}/etc/ircservices#' \ + ${WRKSRC}/Makefile.inc + @${REINPLACE_CMD} -e 's#@BINDEST@#${PREFIX}/sbin# ; \ + s#@DATDEST@#${PREFIX}/etc/ircservices#' \ + ${WRKSRC}/tools/ircservices-chk.in + 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} "" -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}) .include <bsd.port.post.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!