svn commit: r316633 - head/sysutils/webmin
Jimmy Olgeni
olgeni at FreeBSD.org
Fri Apr 26 19:58:09 UTC 2013
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
More information about the svn-ports-all
mailing list