ports/92502: [maintainer-update] Better handling of WITHOUT_X11 for devel/ocaml-findlib port

Stephane Legrand stephane at FreeBSD.org
Sun Jan 29 14:40:03 UTC 2006


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



More information about the freebsd-ports-bugs mailing list