Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2006 17:48:16 -0400
From:      Matt Rudderham <matt@norex.ca>
To:        freebsd-questions@freebsd.org
Subject:   Ports bsd.port.mk Broken?
Message-ID:  <442074A0.5050905@norex.ca>

next in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?442074A0.5050905>