Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2014 09:23:28 -0700
From:      Ricky Huang <rhuang.work@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Malformed conditional when trying to make
Message-ID:  <11DB8B39-1B03-4A2E-BD21-EC413F0A7ECC@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello all,

In light of the recent shell shock exploit, I have started =
patching/update some old systems I own, with "portsnap fetch extract =
update" command.  There is a machine running "FreeBSD 9.0-RELEASE-p3" =
that throws a "malformed conditional" error whenever I try to make.  A =
snippet of the error is as follows:
>=20
> Unknown modifier 't'
>=20
> "Makefile", line 57: Malformed conditional (${PORT_OPTIONS:MSTATIC} || =
defined(NO_DYNAMICROOT) || (defined(NOSHARED) && ${NOSHARED:tl} !=3D =
"no"))
> "Makefile", line 61: if-less else
> "Makefile", line 64: if-less endif
> Unknown modifier 't'
>=20
> Unknown modifier 't'

I looked up the "releases" section on FreeBSD.org, =
https://www.freebsd.org/releases/#prior-unsupported, and it shows 9.0 as =
unsupported.  Fine.  But what I do not understand is why does it allowed =
my old, unsupported machine to pull from a reposition that it cannot =
possibly compile?  Shouldn't it stop at the last compile'able rev?

Anyways, I know the box is old and should be upgraded anyways.  So being =
a FreeBSD noob, what would be the best way to do an in-place upgrade of =
the system?  There are stuff on the server that I want to keep and a =
wipe-reinstall is not highly desirable.  Is the update command =
"freebsd-update"?  Also are there any gotchas that I should look out =
for?


Thanks for reading.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11DB8B39-1B03-4A2E-BD21-EC413F0A7ECC>