Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2006 15:35:47 +0100 (CET)
From:      Stephane Legrand <stephane@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92502: [maintainer-update] Better handling of WITHOUT_X11 for devel/ocaml-findlib port
Message-ID:  <200601291435.k0TEZlqx003253@sequoia.mondomaineamoi.megalo>
Resent-Message-ID: <200601291440.k0TEe2dH016254@freefall.freebsd.org>

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

>Number:         92502
>Category:       ports
>Synopsis:       [maintainer-update] Better handling of WITHOUT_X11 for devel/ocaml-findlib port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 29 14:40:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stephane Legrand
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:

  System: FreeBSD 5.4-STABLE i386

>Description:
  
  Better handling of WITHOUT_X11 for devel/ocaml-findlib port.
  Proposed by: Kris Kennaway <kris _at_ obsecurity _dot_ org>
  
>How-To-Repeat:
>Fix:

diff -ruN ocaml-findlib-orig/Makefile ocaml-findlib/Makefile
--- ocaml-findlib-orig/Makefile	Sun Jan 29 15:17:02 2006
+++ ocaml-findlib/Makefile	Sun Jan 29 15:18:27 2006
@@ -27,7 +27,11 @@
 MAN5=	META.5 findlib.conf.5 site-lib.5
 
 # this list comes from the findlib configure script
-OCAML_DIRS=	dbm dynlink graphics num num-top str threads unix stdlib bigarray labltk camlp4
+OCAML_DIRS=	dbm dynlink graphics num num-top str threads unix stdlib bigarray camlp4
+
+.if !defined(WITHOUT_X11)
+OCAML_DIRS+=   labltk
+.endif
 
 post-install:
 	@${FIND} ${PREFIX}/lib/ocaml/site-lib/findlib -type f | \
>Release-Note:
>Audit-Trail:
>Unformatted:



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