Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2004 00:09:06 -0400
From:      Parv <parv@pair.com>
To:        f-ports <freebsd-ports@freebsd.org>
Subject:   make (FreeBSD 4.10-p3) problem in java/eclipse: Malformed conditional (empty(${BUILD_KDE}))
Message-ID:  <20041006040906.GA8385@moo.holy.cow>

next in thread | raw e-mail | index | archive | help
Before i file a PR ... while trying to build eclipse, an error occurs
(FreeBSD 4.10-p3 here) ...

  make build -DBATCH -DWITH_MOTIF -DWITHOUT_GNOMEVFS
  #
  "Makefile", line 75: Malformed conditional (empty(${BUILD_KDE}))
  "Makefile", line 75: Missing dependency operator
  "Makefile", line 80: if-less endif
  "Makefile", line 80: Need an operator
  make: fatal errors encountered -- cannot continue


...below are the lines 73 to 80 ...

  .if defined(WITH_MOTIF)
  BUILD_KDE=`${PKG_INFO} -xc kdebase | ${GREP} "no packages match"`
  .if empty(${BUILD_KDE})
  PLIST_SUB+=     KDE:=""
  .else
  PLIST_SUB+=     KDE:="@comment *${BUILD_KDE}*"
  .endif
  .endif


Some of the commands to trigger the above error are...

  make -V -DBATCH -DWITH_MOTIF BUILD_KDE
  make clean -DWITH_MOTIF


Does anybody have suggestions to solve the above problem?


  - Parv

-- 



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