From dada@sbox.tugraz.at  Sun Jun 18 08:28:20 2006
Return-Path: <dada@sbox.tugraz.at>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 07A0616A479
	for <freebsd-gnats-submit@freebsd.org>; Sun, 18 Jun 2006 08:28:20 +0000 (UTC)
	(envelope-from dada@sbox.tugraz.at)
Received: from mailrelay1.tu-graz.ac.at (mailrelay.tu-graz.ac.at [129.27.2.202])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0676A43D6A
	for <freebsd-gnats-submit@freebsd.org>; Sun, 18 Jun 2006 08:28:12 +0000 (GMT)
	(envelope-from dada@sbox.tugraz.at)
Received: from webmail.tugraz.at (webmail.tu-graz.ac.at [129.27.2.204])
	by mailrelay1.tu-graz.ac.at (8.13.7/8.13.7) with ESMTP id k5I8SA9x025649
	for <freebsd-gnats-submit@freebsd.org>; Sun, 18 Jun 2006 10:28:10 +0200 (CEST)
Received: from BGSZ103.kfunigraz.ac.at (BGSZ103.kfunigraz.ac.at
	[143.50.30.103]) by webmail.tugraz.at (Horde MIME library) with HTTP; Sun,
	18 Jun 2006 10:28:09 +0200
Message-Id: <20060618102809.uu1x532g0g8ss80k@webmail.tugraz.at>
Date: Sun, 18 Jun 2006 10:28:09 +0200
From: Martin Kammerhofer <dada@sbox.tugraz.at>
To: FreeBSD problem reports <freebsd-gnats-submit@freebsd.org>
Subject: [maintainer-update] misc/portless to 0.2.1

>Number:         99093
>Category:       ports
>Synopsis:       [maintainer-update] misc/portless to 0.2.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 18 08:30:15 GMT 2006
>Closed-Date:    Mon Jun 19 09:20:41 GMT 2006
>Last-Modified:  Mon Jun 19 09:20:41 GMT 2006
>Originator:     Martin Kammerhofer
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Graz Uni
>Environment:
System: FreeBSD Martin.liebt.Susi 6.1-STABLE FreeBSD 6.1-STABLE #1: Thu Jun 15 21:42:43 CEST 2006 toor@Martin.liebt.Susi:/usr/src/sys/i386/compile/P2B-S i386
>Description:
Add dependency to sysutils/less only for FreeBSD versions not having
less(1) in the base system.
Bump portversion to allow users having installed from binary package
to get rid of the redundant dependency.
>How-To-Repeat:
>Fix:
Index: Makefile
=====================================================================
RCS file: /home/martin/.CVS-Repository/src/ports/misc/portless/Makefile,v
retrieving revision 1.5
diff -u -t -r1.5 Makefile
--- Makefile	15 Jun 2006 15:41:17 -0000	1.5
+++ Makefile	17 Jun 2006 19:17:28 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=       portless
-PORTVERSION=    0.2
-PORTREVISION=   1
+PORTVERSION=    0.2.1
 CATEGORIES=     misc
 MASTER_SITES=   # empty
 DISTFILES=      # none
@@ -16,7 +15,12 @@
 MAINTAINER=     mkamm@gmx.net
 COMMENT=        Quick display of files inside the FreeBSD ports tree
 
-RUN_DEPENDS=    less:${PORTSDIR}/sysutils/less
+.include <bsd.port.pre.mk>
+
+# We have less(1) since FreeBSD 4.1 in the base system
+.if ${OSVERSION} < 410000
+RUN_DEPENDS+=   less:${PORTSDIR}/sysutils/less
+.endif
 
 NO_BUILD=       yes
 MAN1=           portless.1
@@ -28,4 +32,4 @@
         ${INSTALL_SCRIPT} ${FILESDIR}/portless.sh ${PREFIX}/bin/portless
         ${INSTALL_MAN} ${FILESDIR}/portless.1 ${PREFIX}/man/man1
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Jun 18 08:33:42 UTC 2006 
Responsible-Changed-Why:  
Try to rescue this PR from having been mangled by the 'quoted-printable' 
stuff that gives GNATS such a hard time.  (Note: patches submitted using 
this technology are almost always unuseable; I have tried my best to fix 
it up.)  Please try using a mailer that doesn't use this encoding next 
time.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99093 
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Sun Jun 18 13:29:46 UTC 2006 
State-Changed-Why:  
The Ports Collection will not work on anything older than FreeBSD 4.3 
at the moment.  Would it make sense to drop less dependency completely? 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sun Jun 18 13:29:46 UTC 2006 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99093 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Mon Jun 19 09:20:32 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99093 
>Unformatted:
