summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2013-04-26 19:58:08 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2013-04-26 19:58:08 +0000
commitcbb24de5351dd58d31b616179c50566f005fb630 (patch)
tree3be3531c93b15fdf4747c81a4c9a5000a1ead6c6 /sysutils
parentFix a few MOVEDlint warnings. (diff)
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.
Notes
Notes: svn path=/head/; revision=316633
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/webmin/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index 5f500dfae60f..916a84d48583 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -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