From owner-freebsd-questions@FreeBSD.ORG Fri Sep 26 16:23:33 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04BB4396 for ; Fri, 26 Sep 2014 16:23:33 +0000 (UTC) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CCC591C8 for ; Fri, 26 Sep 2014 16:23:32 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id kq14so241536pab.33 for ; Fri, 26 Sep 2014 09:23:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version; bh=KsTHaV1YxtFn+jJPj8EsDe+LYziclcUohY1sedjDuOA=; b=LTRMzUYqS3xSPVDc/mUyaskvMmSkA1BII2V8XGq9OS1RFFWr8/uzqTpC3dJCDrTero jnkuhHkGL8WLEige9tNs8qCQZ8uImCdGgCnfAnyov2+GgheuNuDur/e4dCbPGe4Hcl6n FDMQBZPTDFDFtmMZ0eoAAWi87lV8LKpPn7l2z1PqT0zAaL5AMcw7Ish6SbC+lGU/cfu5 0cnWAWbak7d7quAKslfDP2YSe9ggHlbfKR4ZRmy+gE8IiB8+ozE1spYKxhSb/C4E2RZh MWm8MTVmqTtkQDmssLywgn0DXCaFNDbZ/Xbwx/nK2C1Y3a0jnsaPVXhBswEbQdrtKKi/ QsLg== X-Received: by 10.70.9.227 with SMTP id d3mr46058208pdb.16.1411748612380; Fri, 26 Sep 2014 09:23:32 -0700 (PDT) Received: from [10.0.1.12] (cpe-76-167-75-172.san.res.rr.com. [76.167.75.172]) by mx.google.com with ESMTPSA id be14sm5339711pdb.49.2014.09.26.09.23.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Sep 2014 09:23:31 -0700 (PDT) From: Ricky Huang Subject: Malformed conditional when trying to make Message-Id: <11DB8B39-1B03-4A2E-BD21-EC413F0A7ECC@gmail.com> Date: Fri, 26 Sep 2014 09:23:28 -0700 To: "freebsd-questions@freebsd.org" Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-Mailer: Apple Mail (2.1510) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 16:23:33 -0000 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.