Date: Sun, 3 Aug 2014 10:16:43 +0000 (UTC) From: Pawel Pekala <pawel@svn.freebsd.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r363871 - branches/2014Q3/sysutils/runwhen Message-ID: <53de0c0b.50ef.13183bd5@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Sun Aug 3 10:16:42 2014 New Revision: 363871 URL: http://svnweb.freebsd.org/changeset/ports/363871 QAT: https://qat.redports.org/buildarchive/r363871/ Log: MFH: r363864 - Fix build with clang (gcc linker default) - Add staging support - Convert to new options framework - Remove Author from pkg-descr Approved by: portmgr (antoine) Modified: branches/2014Q3/sysutils/runwhen/Makefile branches/2014Q3/sysutils/runwhen/pkg-descr Directory Properties: branches/2014Q3/ (props changed) Modified: branches/2014Q3/sysutils/runwhen/Makefile ============================================================================== --- branches/2014Q3/sysutils/runwhen/Makefile Sun Aug 3 10:16:35 2014 (r363870) +++ branches/2014Q3/sysutils/runwhen/Makefile Sun Aug 3 10:16:42 2014 (r363871) @@ -18,10 +18,13 @@ ALL_TARGET= default DOCS= src/CHANGES src/TODO package/README -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's!gcc -O2!${CC} ${CFLAGS}!' \ ${WRKSRC}/conf-compile/host_compile.sh + @${REINPLACE_CMD} 's!gcc!${CC} ${LDFLAGS} ${LIBS}!' \ + ${WRKSRC}/conf-compile/host_link.sh do-configure: ${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-compile/package_home @@ -31,10 +34,8 @@ do-build: cd ${WRKSRC} && package/compile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> Modified: branches/2014Q3/sysutils/runwhen/pkg-descr ============================================================================== --- branches/2014Q3/sysutils/runwhen/pkg-descr Sun Aug 3 10:16:35 2014 (r363870) +++ branches/2014Q3/sysutils/runwhen/pkg-descr Sun Aug 3 10:16:42 2014 (r363871) @@ -20,5 +20,4 @@ lots of things at(1) does that runwhen d - It doesn't check access control files - thus it doesn't gratuitously deny users. -Author: Paul Jarc <prj@po.cwru.edu> WWW: http://code.dogmap.org/runwhen/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53de0c0b.50ef.13183bd5>