Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2013 19:58:08 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r316633 - head/sysutils/webmin
Message-ID:  <201304261958.r3QJw9qm026308@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Fri Apr 26 19:58:08 2013
New Revision: 316633
URL: http://svnweb.freebsd.org/changeset/ports/316633

Log:
  In os_list.txt, move all references to FreeBSD at the beginning.
  
  The oschooser.pl script is called by setup.sh, and it uses os_list.txt
  to detect the operating system.
  
  Conditions in os_list.txt are evaluated sequentially until a match
  is found. It may happen that a Linux-only condition matches before
  FreeBSD; for example, if the directory /usr/portage exists then
  webmin will detect FreeBSD as Gentoo Linux.

Modified:
  head/sysutils/webmin/Makefile

Modified: head/sysutils/webmin/Makefile
==============================================================================
--- head/sysutils/webmin/Makefile	Fri Apr 26 19:54:15 2013	(r316632)
+++ head/sysutils/webmin/Makefile	Fri Apr 26 19:58:08 2013	(r316633)
@@ -3,6 +3,7 @@
 
 PORTNAME=	webmin
 PORTVERSION=	1.620
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://download.webmin.com/updates/:up \
 		SF/webadmin/${PORTNAME}/${PORTVERSION}:sf \
@@ -55,6 +56,8 @@ post-patch:
 	@${FIND} ${WRKSRC} -name "*.bak" -delete
 	@${FIND} ${WRKSRC} -name "*.pyc" -delete
 
+	@${PRINTF} "g/^FreeBSD/m0\nwq\n" | ex ${WRKSRC}/os_list.txt
+
 do-build:
 	@${CC} ${CFLAGS} -o ${WRKSRC}/mount/freebsd-mounts-7 ${WRKSRC}/mount/freebsd-mounts-7.c
 



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