gdal 1.9.1 (Was Re: graphics/gdal 1.9.0 does not build on CURRENT)
coder.tuxfamily
coder at tuxfamily.org
Fri May 25 19:51:30 UTC 2012
Can you try to build the "new" port of gdal ?
I have the same problem with swig for php...
Le 25.05.2012 10:29, Rainer Hurling a écrit :
> On 23.05.2012 18:37 (UTC+1), Rainer Hurling wrote:
>> On 23.05.2012 18:22 (UTC+1), coder.tuxfamily wrote:
>>>
>>>> OK, I think I get it. This failure does not happen, if swig is not
>>>> installed. Then it builds and installs fine.
>
> I tried to install gdal-1.9.0 on another 10.0-CURRENT box and it fails
> completely. On that box I was not able to build gdal even without swig
> or with swig 2.0 installed.
>
> After that I tried on a 10.0-CURRENT Tinderbox with a totally unmodified
> gdal-1.9.0 (even without the ${CPPFLAGS} patch). It builds just fine, no
> problems at all!
>
> So it must have to do with some special configurations and/or installed
> packages.
>
> The only clue I have at this time is, that
> extensions/gdal_wrap.cpp:6845: complains about "'VSIFTruncateL', which
> was not declared in this scope".
>
>
>>>> Do you have any idea what is going wrong with swig here?
>>>
>>>
>>> OK. Maybe inclue the swig dependancy into the Makefile.
>>
>> I just tested three cases:
>>
>> (1) No swig installed -> gdal 1.9.0 builds and installs fine
>>
>> (2) swig 1.3.40 installed -> the build breaks, see older mails
>>
>> (3) swig 2.0.4 installed -> gdal 1.9.0 builds and installs fine
>>
>>
>> So we only have to take care that swig 1.3.40 is not installed.
>>
>>
>> With swig installed, the pkg-plist of gdal is incomplete, 'make
>> deinstall' shows
>>
>> pkg_delete: unable to completely remove directory '/usr/local/share/gdal'
>> pkg_delete: unable to completely remove directory
>> '/usr/local/lib/python2.7/site-packages/GDAL-1.9.0-py2.7-freebsd-10.0-CURRENT-amd64.egg/osgeo'
>>
>>
>> pkg_delete: unable to completely remove directory
>> '/usr/local/lib/python2.7/site-packages/GDAL-1.9.0-py2.7-freebsd-10.0-CURRENT-amd64.egg'
>>
>>
>> pkg_delete: couldn't entirely delete package `gdal-1.9.0'
>> (perhaps the packing list is incorrectly specified?)
>>
>>
>>> I try to port gdal 1.9.1
>>
>> That would be nice!
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
-------------- next part --------------
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# gdal
# gdal/pkg-plist
# gdal/pkg-descr
# gdal/Makefile
# gdal/distinfo
# gdal/files
# gdal/files/patch-swig-python-GNUmakefile
#
echo c - gdal
mkdir -p gdal > /dev/null 2>&1
echo x - gdal/pkg-plist
sed 's/^X//' >gdal/pkg-plist << 'c2c0c9ac5db08f456dbeb55ec71303b3'
Xbin/gdal-config
Xbin/gdal_contour
Xbin/gdal_grid
Xbin/gdal_rasterize
Xbin/gdal_translate
Xbin/gdaladdo
Xbin/gdalbuildvrt
Xbin/gdaldem
Xbin/gdalenhance
Xbin/gdalinfo
Xbin/gdallocationinfo
Xbin/gdalmanage
Xbin/gdalsrsinfo
Xbin/gdaltindex
Xbin/gdaltransform
Xbin/gdalwarp
Xbin/nearblack
Xbin/ogr2ogr
Xbin/ogrinfo
Xbin/ogrtindex
Xbin/testepsg
Xinclude/cpl_atomic_ops.h
Xinclude/cpl_config.h
Xinclude/cpl_config_extras.h
Xinclude/cpl_conv.h
Xinclude/cpl_csv.h
Xinclude/cpl_error.h
Xinclude/cpl_hash_set.h
Xinclude/cpl_http.h
Xinclude/cpl_list.h
Xinclude/cpl_minixml.h
Xinclude/cpl_minizip_ioapi.h
Xinclude/cpl_minizip_unzip.h
Xinclude/cpl_minizip_zip.h
Xinclude/cpl_multiproc.h
Xinclude/cpl_odbc.h
Xinclude/cpl_port.h
Xinclude/cpl_quad_tree.h
Xinclude/cpl_string.h
Xinclude/cpl_time.h
Xinclude/cpl_vsi.h
Xinclude/cpl_vsi_virtual.h
Xinclude/cpl_win32ce_api.h
Xinclude/cpl_wince.h
Xinclude/cplkeywordparser.h
Xinclude/gdal.h
Xinclude/gdal_alg.h
Xinclude/gdal_alg_priv.h
Xinclude/gdal_csv.h
Xinclude/gdal_frmts.h
Xinclude/gdal_pam.h
Xinclude/gdal_priv.h
Xinclude/gdal_proxy.h
Xinclude/gdal_rat.h
Xinclude/gdal_version.h
Xinclude/gdal_vrt.h
Xinclude/gdalgrid.h
Xinclude/gdaljp2metadata.h
Xinclude/gdalwarper.h
Xinclude/gdalwarpkernel_opencl.h
Xinclude/gvgcpfit.h
Xinclude/memdataset.h
Xinclude/ogr_api.h
Xinclude/ogr_core.h
Xinclude/ogr_feature.h
Xinclude/ogr_featurestyle.h
Xinclude/ogr_geometry.h
Xinclude/ogr_p.h
Xinclude/ogr_spatialref.h
Xinclude/ogr_srs_api.h
Xinclude/ogrsf_frmts.h
Xinclude/rawdataset.h
Xinclude/thinplatespline.h
Xinclude/vrtdataset.h
Xlib/libgdal.a
Xlib/libgdal.la
Xlib/libgdal.so
Xlib/libgdal.so.17
X%%DATADIR%%/GDALLogoBW.svg
X%%DATADIR%%/GDALLogoColor.svg
X%%DATADIR%%/GDALLogoGS.svg
X%%DATADIR%%/LICENSE.TXT
X%%DATADIR%%/compdcs.csv
X%%DATADIR%%/coordinate_axis.csv
X%%DATADIR%%/cubewerx_extra.wkt
X%%DATADIR%%/datum_shift.csv
X%%DATADIR%%/ecw_cs.wkt
X%%DATADIR%%/ellipsoid.csv
X%%DATADIR%%/epsg.wkt
X%%DATADIR%%/esri_StatePlane_extra.wkt
X%%DATADIR%%/esri_Wisconsin_extra.wkt
X%%DATADIR%%/esri_extra.wkt
X%%DATADIR%%/gcs.csv
X%%DATADIR%%/gcs.override.csv
X%%DATADIR%%/gdal_datum.csv
X%%DATADIR%%/gdalicon.png
X%%DATADIR%%/geoccs.csv
X%%DATADIR%%/gt_datum.csv
X%%DATADIR%%/gt_ellips.csv
X%%DATADIR%%/header.dxf
X%%DATADIR%%/nitf_spec.xml
X%%DATADIR%%/nitf_spec.xsd
X%%DATADIR%%/pci_datum.txt
X%%DATADIR%%/pci_ellips.txt
X%%DATADIR%%/pcs.csv
X%%DATADIR%%/pcs.override.csv
X%%DATADIR%%/prime_meridian.csv
X%%DATADIR%%/projop_wparm.csv
X%%DATADIR%%/s57agencies.csv
X%%DATADIR%%/s57attributes.csv
X%%DATADIR%%/s57attributes_aml.csv
X%%DATADIR%%/s57attributes_iw.csv
X%%DATADIR%%/s57expectedinput.csv
X%%DATADIR%%/s57objectclasses.csv
X%%DATADIR%%/s57objectclasses_aml.csv
X%%DATADIR%%/s57objectclasses_iw.csv
X%%DATADIR%%/seed_2d.dgn
X%%DATADIR%%/seed_3d.dgn
X%%DATADIR%%/stateplane.csv
X%%DATADIR%%/trailer.dxf
X%%DATADIR%%/unit_of_measure.csv
X%%DATADIR%%/vertcs.csv
X%%DATADIR%%/vertcs.override.csv
X at dirrm %%DATADIR%%
c2c0c9ac5db08f456dbeb55ec71303b3
echo x - gdal/pkg-descr
sed 's/^X//' >gdal/pkg-descr << '2fe043227b5b40aec5696b7440981881'
X[description of the port]
X
XWWW: http://port.home.page/
2fe043227b5b40aec5696b7440981881
echo x - gdal/Makefile
sed 's/^X//' >gdal/Makefile << 'c2358a577ad58139ee1e51bfce8729c1'
X# New ports collection makefile for: gdal
X# Date created: 2012-05-23
X# Whom: lbartoletti <coder at tuxfamily.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= gdal
XPORTVERSION= 1.9.1
XCATEGORIES= graphics geography
XMASTER_SITES= http://download.osgeo.org/gdal/ \
X ftp://ftp.remotesensing.org/pub/gdal/
X
XMAINTAINER= sunpoet at FreeBSD.org
XCOMMENT= A translator library for geospatial data formats
X
XCONFIGURE_ARGS= --datadir=${DATADIR} --with-libz=/usr
XGNU_CONFIGURE= yes
XLDFLAGS+= -L${LOCALBASE}
XMAKEFILE= GNUmakefile
XUSE_AUTOTOOLS= libtool
XUSE_GMAKE= yes
XUSE_LDCONFIG= yes
XUSE_ICONV= yes
X
XOPTIONS= ARMADILLO "Faster TPS transform computation" off \
X CFITSIO "FITS support" off \
X CURL "Curl support" off \
X ECW "ECW & JPEG2000 support (THREAD required)" off \
X EXPAT "Expat support" off \
X GEOS "GEOS support" off \
X GEOTIFF "GeoTIFF support" on \
X GIF "GIF support" on \
X FREEXL "FreeXL support" off \
X GRASS "GRASS support" off \
X HDF4 "HDF4 support" off \
X HDF5 "HDF5 support" off \
X JASPER "JPEG 2000 support via jasper" on \
X JPEG "JPEG support" on \
X KML "KML support" on \
X MDB "Include MDB driver (need Java)" off \
X MYSQL "MySQL support" off \
X NETCDF "NetCDF support" off \
X ODBC "ODBC support" off \
X PERL "Perl support" off \
X PGSQL "PostgreSQL support" off \
X PHP "PHP support (broken)" off \
X PNG "PNG support" on \
X POPPLER "Poppler support (for PDF)" off \
X PODOFO "PoDoFo support (for PDF)" off \
X PROJ "Projection support via proj" off \
X PYTHON "Python support" on \
X RUBY "Ruby support" off \
X SQLITE "SQLite support" off \
X SPATIALITE "Spatialite support" off \
X THREAD "Thread support" off \
X TIFF "External libtiff" off \
X XERCES "Xerces support" off
X
XHDF5_VER?= 18
XNETCDF_VER?= 4
XXERCES_PORT?= textproc/xerces-c3
X
X.include <bsd.port.options.mk>
X
X.if !defined(NOPORTDOCS)
XBUILD_DEPENDS+= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
X.endif
X
X.if defined(WITH_NETCDF) && (${NETCDF_VER} == "4")
XWITH_HDF5= yes
XHDF5_VER= 18
X.endif
X
X.if defined(WITH_ARMADILLO)
XCONFIGURE_ARGS+=--with-armadillo=yes
X.else
XCONFIGURE_ARGS+=--with-armadillo=no
X.endif
X
X.if defined(WITH_CFITSIO)
XLIB_DEPENDS+= cfitsio:${PORTSDIR}/astro/cfitsio
XCONFIGURE_ARGS+=--with-cfitsio=${LOCALBASE}
X.else
XCONFIGURE_ARGS+=--with-cfitsio=no
X.endif
X
X.if defined(WITH_CURL)
XLIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl
XCONFIGURE_ARGS+=--with-curl=${LOCALBASE}/bin/curl-config
X.else
XCONFIGURE_ARGS+=--with-curl=no
X.endif
X
X.if defined(WITH_EXPAT)
XLIB_DEPENDS+= expat:${PORTSDIR}/textproc/expat2
XCONFIGURE_ARGS+=--with-expat=${LOCALBASE} \
X --with-expat-inc=${LOCALBASE}/include \
X --with-expat-lib=-lexpat
X.else
XCONFIGURE_ARGS+=--with-expat=no
X.endif
X
X.if defined(WITH_FREEXL)
XLIB_DEPENDS+= freexl:${PORTSDIR}/textproc/freexl
XCONFIGURE_ARGS+= --with-freexl=${LOCALBASE}
X.else
XCONFIGURE_ARGS+= --with-freexl=no
X.endif
X
X.if defined(WITH_GEOS)
XLIB_DEPENDS+= geos:${PORTSDIR}/graphics/geos
XCONFIGURE_ARGS+=--with-geos=${LOCALBASE}/bin/geos-config
X.else
XCONFIGURE_ARGS+=--with-geos=no
X.endif
X
X.if !defined(WITHOUT_GEOTIFF)
XLIB_DEPENDS+= geotiff:${PORTSDIR}/graphics/libgeotiff
XCONFIGURE_ARGS+=--with-geotiff=${LOCALBASE}
X.endif
X
X.if !defined(WITHOUT_GIF)
XLIB_DEPENDS+= gif:${PORTSDIR}/graphics/giflib
XCONFIGURE_ARGS+=--with-gif=${LOCALBASE}
X.endif
X
X.if defined(WITH_GRASS)
XGRASS_INST_DIR?=grass
XBUILD_DEPENDS+= grass>=0:${PORTSDIR}/databases/grass
XRUN_DEPENDS+= grass>=0:${PORTSDIR}/databases/grass
XCONFIGURE_ARGS+=--with-grass=${LOCALBASE}/${GRASS_INST_DIR} \
X --with-grasslib=${LOCALBASE}/${GRASS_INST_DIR}/lib
X.else
XCONFIGURE_ARGS+=--with-grass=no
X.endif
X
X.if defined(WITH_HDF4)
XLIB_DEPENDS+= mfhdf:${PORTSDIR}/science/hdf
XCONFIGURE_ARGS+=--with-hdf4=${LOCALBASE}
X.endif
X
X.if defined(WITH_HDF5)
X.if (${NETCDF_VER} == "4")
XLIB_DEPENDS+= hdf5:${PORTSDIR}/science/hdf5-18
X.else
XLIB_DEPENDS+= hdf5:${PORTSDIR}/science/hdf5
X.endif
XCONFIGURE_ARGS+=--with-hdf5=${LOCALBASE}
X.endif
X
X.if !defined(WITHOUT_JASPER)
XLIB_DEPENDS+= jasper:${PORTSDIR}/graphics/jasper
XCONFIGURE_ARGS+=--with-jasper=${LOCALBASE}
X.endif
X
X.if !defined(WITHOUT_JPEG)
XLIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg
XCONFIGURE_ARGS+=--with-jpeg=${LOCALBASE}
X.endif
X
X.if !defined(WITHOUT_KML)
XLIB_DEPENDS+= kmlbase:${PORTSDIR}/science/libkml
XCONFIGURE_ARGS+=--with-libkml=${LOCALBASE} --with-libkml-inc=${LOCALBASE}/kml --with-libkml-lib=${LOCALBASE}/lib
X.endif
X
X.if defined(WITH_MDB)
XUSE_JAVA= yes
XCONFIGURE_ARGS+=--with-mdb --with-java=${JAVA_HOME}
X.endif
X
X.if defined(WITH_MYSQL)
XUSE_MYSQL= yes
XCONFIGURE_ARGS+=--with-mysql=${LOCALBASE}/bin/mysql_config
X.else
XCONFIGURE_ARGS+=--with-mysql=no
X.endif
X
X.if defined(WITH_NETCDF)
X.if (${NETCDF_VER} == "4")
XLIB_DEPENDS+= netcdf:${PORTSDIR}/science/netcdf4
X.else
XLIB_DEPENDS+= netcdf:${PORTSDIR}/science/netcdf
X.endif
XCONFIGURE_ARGS+=--with-netcdf=${LOCALBASE}
X.else
XCONFIGURE_ARGS+=--with-netcdf=no
X.endif
X
X.if defined(WITH_ODBC)
XLIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC
XCONFIGURE_ARGS+=--with-odbc=${LOCALBASE}
X.else
XCONFIGURE_ARGS+=--with-odbc=no
X.endif
X
X.if defined(WITH_PERL)
XUSE_PERL5= yes
XCONFIGURE_ARGS+=--with-perl
X.endif
X
X.if defined(WITH_PGSQL)
XUSE_PGSQL= yes
XCONFIGURE_ARGS+=--with-pg=${LOCALBASE}/bin/pg_config
X.else
XCONFIGURE_ARGS+=--with-pg=no
X.endif
X
X.if defined(WITH_PHP)
XBROKEN= fails to build with swig/php ; rerun make config
XUSE_PHP= yes
XCONFIGURE_ARGS+=--with-php
X.endif
X
X.if !defined(WITHOUT_PNG)
XLIB_DEPENDS+= png:${PORTSDIR}/graphics/png
XCONFIGURE_ARGS+= --with-png=${LOCALBASE}
X.endif
X
X.if defined(WITH_PODOFO)
XLIB_DEPENDS+= podofo:${PORTSDIR}/graphics/podofo
XCONFIGURE_ARGS+=--with-podofo=${LOCALBASE} --with-podofo-lib=${LOCALBASE}/lib
X.else
XCONFIGURE_ARGS+=--with-podofo=no
X.endif
X
X.if defined(WITH_POPPLER)
XLIB_DEPENDS+= poppler:${PORTSDIR}/graphics/poppler
XCONFIGURE_ARGS+=--with-poppler=${LOCALBASE}
X.else
XCONFIGURE_ARGS+=--with-poppler=no
X.endif
X
X.if defined(WITH_PROJ)
XLIB_DEPENDS+= proj:${PORTSDIR}/graphics/proj
XCONFIGURE_ARGS+=--with-static-proj4=${LOCALBASE}
X.else
XCONFIGURE_ARGS+=--with-static-proj4=no
X.endif
X
X.if !defined(WITHOUT_PYTHON)
XUSE_PYTHON= yes
X
XBUILD_DEPENDS+= ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools swig>=2.0.0:${PORTSDIR}/devel/swig20
XRUN_DEPENDS+= ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
X
X# We can not use USE_PYDISTUTILS, so copy these from bsd.python.mk.
XPYEASYINSTALL_CMD= ${LOCALBASE}/bin/easy_install-${PYTHON_VER}
XPYDISTUTILS_PKGNAME= ${PORTNAME:U}
XPYDISTUTILS_PKGVERSION= ${PORTVERSION}
X_OSRELEASE!= ${UNAME} -r
XPYEASYINSTALL_OSARCH= -${OPSYS:L}-${_OSRELEASE}-${ARCH}
XPYEASYINSTALL_EGG= ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-${PYTHON_VERSION:S/thon//}${PYEASYINSTALL_OSARCH}.egg
XPYEASYINSTALL_BINDIR= ${PREFIX}/bin
XPYEASYINSTALL_SITELIBDIR= ${PYTHONPREFIX_SITELIBDIR}
X
XPLIST_SUB+= PYEASYINSTALL_EGG=${PYEASYINSTALL_EGG} PYTHON=""
X.else
XPLIST_SUB+= PYTHON="@comment "
X
X.endif
X
X.if defined(WITH_RUBY)
XUSE_RUBY= yes
XCONFIGURE_ARGS+= --with-ruby
X.endif
X
X.if defined(WITH_SQLITE)
XUSE_SQLITE= yes
XCONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE}
X.else
XCONFIGURE_ARGS+= --with-sqlite3=no
X.endif
X
X.if defined(WITH_SPATIALITE)
XCONFIGURE_ARGS+= --with-spatialite=${LOCALBASE}
X.else
XCONFIGURE_ARGS+= --with-sqlite3=no
X.endif
X
X.if !defined(WITHOUT_THREAD)
XCFLAGS+= ${PTHREAD_CFLAGS}
XCONFIGURE_ARGS+= --with-threads=yes
X.if defined(WITH_ECW)
XLIB_DEPENDS+= NCSEcw:${PORTSDIR}/graphics/libecwj2
XCONFIGURE_ARGS+= --with-ecw=${LOCALBASE}
X.else
XCONFIGURE_ARGS+= --with-ecw=no
X.endif
X.else
XCONFIGURE_ARGS+= --with-threads=no
X.if defined(WITH_ECW)
XIGNORE= requires THREAD option. Please 'make config' again
X.endif
X.endif
X
X.if !defined(WITHOUT_TIFF)
XLIB_DEPENDS+= tiff:${PORTSDIR}/graphics/tiff
XCONFIGURE_ARGS+= --with-libtiff=${LOCALBASE}
X.else
XCONFIGURE_ARGS+= --with-libtiff=internal
X.endif
X
X.if defined(WITH_XERCES)
XLIB_DEPENDS+= xerces-c:${PORTSDIR}/${XERCES_PORT}
XCONFIGURE_ARGS+= --with-xerces=${LOCALBASE} \
X --with-xerces-inc=${LOCALBASE}/include \
X --with-xerces-lib=-lxerces-c
X.else
XCONFIGURE_ARGS+= --with-xerces=no
X.endif
X
X.if defined(WITH_HDF4) && defined(WITH_HDF5)
XIGNORE= you cannot use HDF4 with HDF5
X.endif
X
Xpost-patch:
X.if defined(WITH_PYTHON)
X @${REINPLACE_CMD} \
X -e 's|%%MAKE_ENV%%|${MAKE_ENV}|' \
X -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|' \
X -e 's|%%PYEASYINSTALL_BINDIR%%|${PYEASYINSTALL_BINDIR}|' \
X -e 's|%%PYEASYINSTALL_SITELIBDIR%%|${PYEASYINSTALL_SITELIBDIR}|' \
X -e 's|%%PYEASYINSTALL_EGG%%|${PYEASYINSTALL_EGG}|' \
X -e 's|%%WRKSRC%%|${WRKSRC}|' \
X ${WRKSRC}/swig/python/GNUmakefile
X.endif
X
Xpost-build:
X.if defined(WITH_PYTHON)
X @cd ${BUILD_WRKSRC}/swig/python/ && \
X ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} setopt -c build -o build-platlib -s lib.${PYEASYINSTALL_OSARCH:S/^-//} && \
X ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} setopt -c build -o build-temp -s temp.${PYEASYINSTALL_OSARCH:S/^-//}-${PYTHON_VER} && \
X ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} setopt -c bdist_egg -o plat-name -s ${PYEASYINSTALL_OSARCH:S/^-//} && \
X ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} setopt -c bdist -o plat-name -s ${PYEASYINSTALL_OSARCH:S/^-//}
X.endif
X
X.include <bsd.port.mk>
c2358a577ad58139ee1e51bfce8729c1
echo x - gdal/distinfo
sed 's/^X//' >gdal/distinfo << '91d1be85c2a9e08df59fd318acfcb0ec'
XSHA256 (gdal-1.9.1.tar.gz) = 5b829e91c5d6c6c9af23fe6322e51bae9339e8805d52724cb0ad0b741aef7fa9
XSIZE (gdal-1.9.1.tar.gz) = 9487505
91d1be85c2a9e08df59fd318acfcb0ec
echo c - gdal/files
mkdir -p gdal/files > /dev/null 2>&1
echo x - gdal/files/patch-swig-python-GNUmakefile
sed 's/^X//' >gdal/files/patch-swig-python-GNUmakefile << 'a79bb98900cad017b6a85595a7598ad1'
X--- swig/python/GNUmakefile.orig 2010-07-29 18:04:21.000000000 +0400
X+++ swig/python/GNUmakefile 2010-07-29 18:05:10.000000000 +0400
X@@ -62,7 +62,7 @@
X mv -f ${SWIGOUTPUTDIR}/gdal_array_wrap.cpp.tmp ${SWIGOUTPUTDIR}/gdal_array_wrap.cpp
X
X build:
X- $(PYTHON) setup.py build
X+ CXX="" $(PYTHON) setup.py bdist_egg
X
X egg:
X $(PYTHON) setup.py bdist_egg
X@@ -70,7 +70,7 @@
X install:
X
X ifeq ($(PY_HAVE_SETUPTOOLS),1)
X- $(PYTHON) setup.py install
X+ env %%MAKE_ENV%% python setup.py easy_install -O 1 -N -S %%PYTHON_SITELIBDIR%% -d %%PYEASYINSTALL_SITELIBDIR%% -s %%PYEASYINSTALL_BINDIR%% %%WRKSRC%%/swig/python/dist/%%PYEASYINSTALL_EGG%%
X else
X $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
X endif
a79bb98900cad017b6a85595a7598ad1
exit
More information about the freebsd-ports
mailing list