Bug 121887 - security/fwtk fails to build with X11=off option setting
Summary: security/fwtk fails to build with X11=off option setting
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-20 02:00 UTC by Christoph Weber-Fahr
Modified: 2008-03-28 16:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Weber-Fahr 2008-03-20 02:00:01 UTC
	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

Fix: apply following fix to /usr/ports/security/fwtk/Makefile
	
# -----------------------------


.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

# -------------------------------A50rt3M9DdbJ3MOUZUS3pheZGtNbM7RG208xt33xXG4XxyMa
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

*** Makefile.old        Mon Oct 15 01:49:05 2007
--- Makefile    Thu Mar 20 01:50:21 2008
***************
*** 46,61 ****
--- 46,62 ----
How-To-Repeat: 	do not have X installed
	make config, unmark "X11" choice
	make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-03-20 02:00:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pirzyk

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jim Pirzyk freebsd_committer freebsd_triage 2008-03-27 22:13:47 UTC
Responsible Changed
From-To: pirzyk->freebsd-ports

Patch looks good to me, please commit at your convience.   Thanks.
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-03-28 16:21:00 UTC
bsam        2008-03-28 16:20:52 UTC

  FreeBSD ports repository

  Modified files:
    security/fwtk        Makefile 
  Log:
  Actually build without x11 if WITHOUT_X11 is defined.
  
  PR:             121887
  Submitted by:   Christoph Weber-Fahr <wefa ta tnd37.tnd.arcor.net>
  Approved by:    pirzyk (maintainer)
  
  Revision  Changes    Path
  1.36      +1 -0      ports/security/fwtk/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Boris Samorodov freebsd_committer freebsd_triage 2008-03-28 16:21:37 UTC
State Changed
From-To: open->closed

Committed, thanks!