Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2008 01:59:50 +0100 (CET)
From:      Christoph Weber-Fahr <wefa@tnd37.tnd.arcor.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/121887: security/fwtk fails to build with X11=off option setting
Message-ID:  <200803200059.m2K0xovq068422@tnd37.tnd.arcor.net>
Resent-Message-ID: <200803200200.m2K201Ym078542@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         121887
>Category:       ports
>Synopsis:       security/fwtk fails to build with X11=off option setting
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 20 02:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Christoph Weber-Fahr
>Release:        FreeBSD 6.2-RELEASE-p8 i386
>Organization:
Arcor-AG
>Environment:
System: FreeBSD tnd37.tnd.arcor.net 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #2: Tue Nov 20 16:19:29 CET 2007 wefa@tnd37.tnd.arcor.net:/usr/obj/usr/src/sys/HPDC7100 i386


>Description:
	system has no X11 installed. when Option setting X11 is off, port builds without 
	pulling X11 dependencies in (good) but make fauils when trying to compile x-gw
>How-To-Repeat:
	do not have X installed
	make config, unmark "X11" choice
	make
>Fix:
	apply following fix to /usr/ports/security/fwtk/Makefile
	
# -----------------------------
*** Makefile.old        Mon Oct 15 01:49:05 2007
--- Makefile    Thu Mar 20 01:50:21 2008
***************
*** 46,61 ****
--- 46,62 ----

  .if !defined(WITHOUT_X11)
  MAN8+=                x-gw.8
  LIBEXEC_BINS+=        x-gw
  USE_XLIB=     yes
  PLIST_SUB+=   X11=""
  .else
  PLIST_SUB+=   X11="@comment "
+ .MAKEFLAGS+=  -DWITHOUT_X11
  .endif

  .if defined(WITH_JUMBO_PATCH)
  PATCHFILES=   trg-jumbo-20001114.diff
  PATCH_SITES=  http://www.fwtk.org/fwtk/patches/
  PATCH_DIST_STRIP=     -p1
  .endif

# -----------------------------




>Release-Note:
>Audit-Trail:
>Unformatted:



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