Bug 120977 - graphics/gdal: implicit dependencies on various libraries (ports).
Summary: graphics/gdal: implicit dependencies on various libraries (ports).
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: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-22 20:40 UTC by fmysh
Modified: 2008-02-24 08:50 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (3.43 KB, patch)
2008-02-22 20:40 UTC, fmysh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fmysh 2008-02-22 20:40:03 UTC
	Gdal's configure scripts enables various features by default
	searching libraries on a system.  For example, netCDF, HDF,
	etc.  This makes gdal have implicit dependencies on the
	libraries (ports) out of the ports system. 

	To avoid this, add explicitly --with-xxxx=no to CONFIGURE_ARGS
	according to OPTIONS selection.

How-To-Repeat: 
For example, the configure script found follwing libraries, netCDF, 
HDF5, etc., on my host and enabled those features.

# make configure

[snip]

  LIBZ support:              external
  GRASS support:             no
  CFITSIO support:           external
  PCRaster support:          internal
  NETCDF support:            yes
  LIBPNG support:            external
  LIBTIFF support:           external (BigTIFF=no)
  LIBGEOTIFF support:        external
  LIBJPEG support:           internal
  LIBGIF support:            external
  OGDI support:              no
  HDF4 support:              no
  HDF5 support:              yes
  KAKADU support:            no
  JASPER support:            yes (GeoJP2=no)
  ECW support:               no
  MrSID support:             no
  GRIB support:              no
  CURL support (wms/wcs/...):yes
  POSTGRESQL support:        yes
  MySQL support:             no
  XERCES support:            yes
  Expat support:             yes
  ODBC support:              yes
  PGEO support:              yes
  OCI support:               no
  SDE support:               no
  DODS support:              no
  SQLite support:            no
  DWGdirect support          no
  PANORAMA GIS support:      no
  INFORMIX DataBlade support:no
  GEOS support:              yes
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-02-22 20:40:17 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2008-02-23 03:52:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-02-24 08:45:47 UTC
rafan       2008-02-24 08:45:42 UTC

  FreeBSD ports repository

  Modified files:
    graphics/gdal        Makefile 
  Log:
  - Add OPTIONS to explicitly handle dependencies
  
  This committed version is based on the PR and reworked by the maintainer.
  
  PR:             ports/120977 (based on)
  Submitted by:   TAOKA Fumiyoshi <fmysh at iijmio-mail.jp>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.26      +217 -34   ports/graphics/gdal/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 Rong-En Fan freebsd_committer freebsd_triage 2008-02-24 08:45:55 UTC
State Changed
From-To: feedback->closed

Committed with maintainer's version. Thanks!