1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Updates from maintainer.

PR:		47994
This commit is contained in:
Doug Ambrisko 2003-02-18 00:31:54 +00:00
parent 46a108b617
commit 58e9eb676e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75756
2 changed files with 22 additions and 8 deletions

View File

@ -19,10 +19,6 @@ RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
.include <bsd.port.pre.mk>
#.if ${OSVERSION} < 460000
#BROKEN= "${PORTNAME} is not available for your version of FreeBSD. Please upgrade."
#.endif
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= may not be automatically fetched due to licensing\
restrictions. You MUST manually fetch the tarball after\
@ -38,6 +34,26 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
NO_CDROM= "Redistribution not allowed"
LINPROCFS!= /sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}'
pre-fetch:
.if ${OSVERSION} < 460000
@${ECHO}
@${ECHO} "OS-VERSION ${OSVERSION} too low"
@${ECHO}
@${ECHO} "acu needs some important sys/dev/an changes"
@${ECHO} "Please upgrade to 4.6-STABLE or greater"
@${FALSE}
.endif
post-extract:
.if ${LINPROCFS}
@${ECHO}
@${ECHO} "linprocfs is mounted, please umount this filesystem"
@${ECHO} "becauce acu needs to read ${LINUXBASE}/proc/aironet"
@${FALSE}
.endif
do-install:
@${MKDIR} ${PREFIX}/bin
@${MKDIR} ${LINUXBASE}/proc/aironet
@ -48,10 +64,8 @@ post-install:
@${ECHO} "notes: acu will only run from the root super-user account"
@${ECHO} " to allow root access to your X session,"
@${ECHO} " run 'xhost localhost' or use sudo."
@${ECHO} " acu will not run with linprocfs since it needs to see:"
@${ECHO} " ${LINUXBASE}/proc/aironet""
@${ECHO} " acu annoyingly creates"
@${ECHO} " /compat/linux/etc/eth2.cfg"
@${ECHO} " /compat/linux/etc/eth?.cfg"
@${ECHO} " and will use that over the current card's settings."
.include <bsd.port.post.mk>

View File

@ -4,5 +4,5 @@ acu installed under ${PREFIX}/bin
acu will not run with linprocfs since it needs to see:
/compact/linux/proc/aironet
acu annoyingly creates
/compat/linux/etc/eth2.cfg
/compat/linux/etc/eth?.cfg
and will use that over the current card's settings.