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.
This commit is contained in:
parent
2e7e13ff18
commit
cbb24de535
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316633
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue