I have a server running FreeBSD 4.5-Release and I went to update the ports collection using this command:
cvsup -L 2 -h cvsup.Freebsd.org /usr/share/examples/cvsup/ports-supfile
It looks like it worked, but now when I run make on any port I get loads of errors:
for example in:
/usr/ports/ports-mgmt/portmanager
make reports:
Every single port in the collection now does this. I also have Gnu Make 3.79 and running it I get:
Makefile:41: *** missing separator. Stop.
So what happened? Did I destroy my entire ports collection?
cvsup -L 2 -h cvsup.Freebsd.org /usr/share/examples/cvsup/ports-supfile
It looks like it worked, but now when I run make on any port I get loads of errors:
for example in:
/usr/ports/ports-mgmt/portmanager
make reports:
Code:
"/usr/ports/Mk/bsd.port.mk", line 1340: Malformed conditional (defined(X_WINDOW_SYSTEM) && ${X_WINDOW_SYSTEM:L} != "xorg")
"/usr/ports/Mk/bsd.port.mk", line 1499: Malformed conditional ((defined(USE_QT_VER) && ${USE_QT_VER:L} == 3) || defined(USE_KDELIBS_VER) || defined(USE_KDEBASE_VER))
"/usr/ports/Mk/bsd.port.mk", line 1499: Missing dependency operator
"/usr/ports/Mk/bsd.kde.mk", line 81: Malformed conditional (${USE_QT_VER} == CVS)
"/usr/ports/Mk/bsd.kde.mk", line 81: Need an operator
"/usr/ports/Mk/bsd.kde.mk", line 99: Malformed conditional (${USE_QT_VER} == 3)
"/usr/ports/Mk/bsd.kde.mk", line 99: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1501: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 1501: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1503: Malformed conditional (defined (USE_QT_VER) && ${USE_QT_VER:L} == 4)
"/usr/ports/Mk/bsd.port.mk", line 1503: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1505: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 1505: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1560: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 1560: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 6208: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 6208: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1773: Malformed conditional (defined(USE_LDCONFIG32) && ${USE_LDCONFIG32:L} == "yes")
"/usr/ports/Mk/bsd.port.mk", line 1773: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1964: Malformed conditional (defined (USE_QT_VER) && ${USE_QT_VER:L} == 4)
"/usr/ports/Mk/bsd.port.mk", line 1964: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 2331: warning: String comparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 2331: warning: String comparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 2331: Malformed conditional (((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install") || exists(${LOCALBASE}/sbin/pkg_info))
"/usr/ports/Mk/bsd.port.mk", line 2332: warning: String comparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 2332: warning: String comparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 2332: Malformed conditional ((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install")
"/usr/ports/Mk/bsd.port.mk", line 2334: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 2334: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 2340: if-less else
"/usr/ports/Mk/bsd.port.mk", line 2340: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 2346: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 2346: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 5709: Malformed conditional (defined(USE_RCORDER) || defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES")
"/usr/ports/Mk/bsd.port.mk", line 5719: Malformed conditional (defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES")
"/usr/ports/Mk/bsd.port.mk", line 5727: if-less else
"/usr/ports/Mk/bsd.port.mk", line 5727: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 5729: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 5729: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 5730: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 5730: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 6206: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 6206: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 6209: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 6209: Need an operator
make: fatal errors encountered -- cannot continue
Every single port in the collection now does this. I also have Gnu Make 3.79 and running it I get:
Makefile:41: *** missing separator. Stop.
So what happened? Did I destroy my entire ports collection?