Date: Wed, 23 May 2012 20:06:42 GMT From: Chris Rees <crees@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/168278: [PATCH] net-mgmt/nagios-pf-plugin remove obsolete OSVERSION check Message-ID: <201205232006.q4NK6ghc027275@freefall.freebsd.org> Resent-Message-ID: <201205232010.q4NKA69U027798@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 168278 >Category: ports >Synopsis: [PATCH] net-mgmt/nagios-pf-plugin remove obsolete OSVERSION check >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 23 20:10:06 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Chris Rees >Release: FreeBSD 9.0-STABLE i386 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 9.0-STABLE FreeBSD 9.0-STABLE #6 r235139: Tue May 8 21:19:03 UTC 2012 simon@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386 >Description: FreeBSD ports tree doesn't support <7.x, so this check is unnecessary. Also, creating a directory under PREFIX is a privileged operation, so pre-su-install must be used. >How-To-Repeat: >Fix: --- net-mgmt-nagios-pf-plugin.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net-mgmt/nagios-pf-plugin/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- Makefile 13 Feb 2010 11:28:36 -0000 1.3 +++ Makefile 23 May 2012 19:54:46 -0000 @@ -23,12 +23,6 @@ SUB_FILES= pkg-message SUB_LIST= NAGIOS_PLUGIN_DIR=${NAGIOS_PLUGIN_DIR} -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 601000 -IGNORE= requires FreeBSD 6.1 or later -.endif - pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "You can redefine the following additional variables:" @@ -45,10 +39,10 @@ "s,/usr/local/libexec/nagios,${PREFIX}/${NAGIOS_PLUGIN_DIR}," \ ${WRKSRC}/Makefile -pre-install: +pre-su-install: @${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR} post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> --- net-mgmt-nagios-pf-plugin.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205232006.q4NK6ghc027275>