Ports bsd.port.mk Broken?

Matt Rudderham matt at norex.ca
Tue Mar 21 21:48:37 UTC 2006


Greetings all,
Since recently cvsup'ing my ports collection I'm now getting the 
following error each time I try to make any port. I'm guessing it could 
be because the system is running FreeBSD 4.8. This is the error after 
trying to make a port:

"/usr/ports/Mk/bsd.port.mk", line 5075: warning: String comparison 
operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 5075: Malformed conditional 
((${OSVERSION} >= 700007 || (${OSVERSION} < 700000 && ${OSVERSION} >= 
600101)))
"/usr/ports/Mk/bsd.port.mk", line 5075: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 5399: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 5399: Need an operator
make: fatal errors encountered -- cannot continue


bsd.port.mk (5075 on...)
.if (${OSVERSION} >= 700007 || (${OSVERSION} < 700000 && ${OSVERSION} >= 
600101))
        @for i in ${USE_RC_SUBR}; do \
                ${INSTALL_SCRIPT} ${WRKDIR}/$${i} 
${PREFIX}/etc/rc.d/$${i%.sh}; \
                ${ECHO_CMD} "etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \
        done
.else
        @for i in ${USE_RC_SUBR}; do \
                ${INSTALL_SCRIPT} ${WRKDIR}/$${i} 
${PREFIX}/etc/rc.d/$${i%.sh}.sh; \
                ${ECHO_CMD} "etc/rc.d/$${i%.sh}.sh" >> ${TMPPLIST}; \
        done
.endif
.endif
.else
        @${DO_NADA}
.endif
.endif

# Compress (or uncompress) and symlink manpages.




More information about the freebsd-questions mailing list