ports/121887: security/fwtk fails to build with X11=off option setting

Christoph Weber-Fahr wefa at tnd37.tnd.arcor.net
Thu Mar 20 02:00:03 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list