freebsd-ports/devel/zziplib/Makefile
Rong-En Fan 741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00

51 lines
2.2 KiB
Makefile

# New ports collection makefile for: zziplib
# Date created: 3 January 2001
# Whom: George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= zziplib
PORTVERSION= 0.13.49
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ale@FreeBSD.org
COMMENT= A library to provide transparent read access to zipped files
USE_BZIP2= yes
USE_GNOME= gnomehack pkgconfig
GNU_CONFIGURE= yes
USE_PYTHON_BUILD= yes
USE_LDCONFIG= yes
PORTSCOUT= limit:^0\.
MAN3= __zzip_fetch_disk_trailer.3 __zzip_parse_root_directory.3 __zzip_try_open.3 \
zzip_close.3 zzip_closedir.3 zzip_compr_str.3 zzip_dir_alloc.3 \
zzip_dir_alloc_ext_io.3 zzip_dir_close.3 zzip_dir_fdopen.3 \
zzip_dir_fdopen_ext_io.3 zzip_dir_free.3 zzip_dir_open.3 \
zzip_dir_open_ext_io.3 zzip_dir_read.3 zzip_dir_real.3 zzip_dir_stat.3 \
zzip_dirfd.3 zzip_dirhandle.3 zzip_disk_close.3 zzip_disk_entry_fopen.3 \
zzip_disk_entry_strdup_comment.3 zzip_disk_entry_strdup_name.3 \
zzip_disk_entry_to_data.3 zzip_disk_entry_to_file_header.3 \
zzip_disk_fclose.3 zzip_disk_feof.3 zzip_disk_findfile.3 \
zzip_disk_findfirst.3 zzip_disk_findmatch.3 zzip_disk_findnext.3 \
zzip_disk_fopen.3 zzip_disk_fread.3 zzip_disk_init.3 zzip_disk_mmap.3 \
zzip_disk_munmap.3 zzip_disk_new.3 zzip_disk_open.3 \
zzip_entry_data_offset.3 zzip_entry_fclose.3 zzip_entry_feof.3 \
zzip_entry_ffile.3 zzip_entry_findfile.3 zzip_entry_findfirst.3 \
zzip_entry_findmatch.3 zzip_entry_findnext.3 zzip_entry_fopen.3 \
zzip_entry_fread.3 zzip_entry_fread_file_header.3 zzip_entry_free.3 \
zzip_entry_strdup_name.3 zzip_errno.3 zzip_error.3 zzip_fclose.3 \
zzip_file_close.3 zzip_file_open.3 zzip_file_read.3 zzip_file_real.3 \
zzip_file_stat.3 zzip_fopen.3 zzip_fread.3 zzip_freopen.3 zzip_fstat.3 \
zzip_get_default_io.3 zzip_inflate_init.3 zzip_init_io.3 zzip_open.3 \
zzip_open_ext_io.3 zzip_open_shared_io.3 zzip_opendir.3 \
zzip_opendir_ext_io.3 zzip_read.3 zzip_readdir.3 zzip_realdir.3 \
zzip_realfd.3 zzip_rewind.3 zzip_rewinddir.3 zzip_seek.3 zzip_seekdir.3 \
zzip_seterror.3 zzip_strerror.3 zzip_strerror_of.3 zzip_tell.3 \
zzip_telldir.3
.include <bsd.port.mk>