1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
Commit Graph

103 Commits

Author SHA1 Message Date
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
Ade Lovett
18bc3481f2 Fix NOPORTDOCS case.
PR:		124348
Submitted by:	oliver@gid0.org
2008-06-07 09:42:32 +00:00
Edwin Groothuis
a550b67ae0 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:33:40 +00:00
Ade Lovett
ee3857ac87 Major autotools-related update:
automake	1.10   -> 1.10.1
	gettext		0.16.1 -> 0.17
	libtool		1.5.24 -> 1.5.26
	m4		1.4.9  -> 1.4.11

Please see ports/UPDATING entry 20080605 for further information.

PR:		123450
Tested by:	Full -exp package building run
Thanks to:	linimon, pav
Approved by:	portmgr
2008-06-06 02:36:00 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Ade Lovett
bfe8a9ab27 Fix build on -CURRENT. openmp support with gcc 4.2 is autodetected but
is broken if threads are disabled (which they are).  This results in
msgmerge segfaulting all over the place.

Since (a) this is -CURRENT only and (b) has no effect on -STABLE,
PORTREVISION is not being bumped.

Submitted by:	kris
2007-05-29 17:11:49 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Ade Lovett
10e7fddb32 Unconditionally disable threading, it is apparently causing some
edge cases to fail, and the previous version of gettext was unthreaded,
so we're not losing anything.

Note that if you've already rebuilt gettext to 0.16.1, you only need
to upgrade gettext, and not everything that depends on it.

Thanks to those that reported the issue, and both gnome@ and kde@ for
confirming that this change does not cause any issues there.
2007-04-08 05:53:10 +00:00
Ade Lovett
9c86ca102f Update to 0.16.1
Many thanks to all those that tested this update, particularly the
FreeBSD GNOME team.
2007-03-17 22:37:26 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Jun Kuriyama
a06ee65df0 Chase shlib bump of libexpat. 2006-01-30 23:20:05 +00:00
Edwin Groothuis
acd87b4ad8 SHA256ify
Approved by:    krion@
2006-01-22 08:34:46 +00:00
Edwin Groothuis
d568611c3e eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 05:52:28 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Ade Lovett
05a80eb33d Unconditionally disable the installation of the start-po.el emacs lisp
file, regardless of whether emacs or xemacs is installed.

PR:		87956
Submitted by:	NIIMI Satoshi <sa2c@sa2c.net>
2005-11-13 23:30:10 +00:00
Ade Lovett
ccff16c57f Update to 0.14.5
Tested with:	full build of x11/gnome2 and x11/kde3
2005-06-17 17:11:00 +00:00
Ade Lovett
00c2ca20f8 Pick this one up too, since it is somewhat intrinsically linked
to autotools
2005-06-15 06:48:19 +00:00
Pav Lucistnik
3e63b33bf5 - Remove incorrect dirrm
Bugged me for:	too long
2005-05-26 17:57:50 +00:00
Palle Girgensohn
23dd69e626 Trivial fix: add ending quote
Approved by: seanc, ade (implicit)
2005-05-22 09:55:53 +00:00
Adam Weinberger
487e31ea20 Bump PORTREVISION for the addition of the msginit.c patch. 2005-05-20 04:20:31 +00:00
Adam Weinberger
3e97f42f59 Sortof fix msginit a little bit kindof. It was looking for
certain files in the wrong place.

Before, running msginit would give this:
/usr/local/libdata/gettext/project-id: Can't open /usr/local/libdata/gettext/project-id: No such file or directory
msginit: /usr/local/libdata/gettext/project-id subprocess I/O error
/usr/local/libdata/gettext/user-email: Can't open /usr/local/libdata/gettext/user-email: No such file or directory
msginit: /usr/local/libdata/gettext/user-email subprocess I/O error
/usr/local/share/gettext/projects/TP/team-address: /usr/local/libdata/gettext/urlget: not found
etc.

Now, it gives this:
root@smacky:/usr/ports/GNOME/grm/i18n# msginit
The new message catalog should contain your email address, so that users can
give you feedback about the translations, and so that maintainers can contact
you in case of unexpected technical problems.

sed: 8: "{
h
s/^[^@]*@\(.*\)$/\1 ...": unterminated substitute pattern
Couldn't find out about your email address.
Please enter your email address.
adamw@gnome.org
sed: 8: "{
h
s/^[^@]*@\(.*\)$/\1 ...": unterminated substitute pattern
Exception in thread "main" java.lang.NoClassDefFoundError: gnu/gettext/GetURL

Someone should look into that new error.
2005-05-20 04:19:52 +00:00
Michael Johnson
498025a81f - Update to 0.14.4 2005-05-13 03:51:07 +00:00
Joe Marcus Clarke
60c0fdbc6d Be sure to create the empty lib/gettext directory during package creation.
Spotted by:	pav
2004-12-28 02:16:39 +00:00
Joe Marcus Clarke
4a2efaa439 Remove the empty lib/gettext directory.
Reported by:	pointyhat via kris
2004-12-24 08:38:44 +00:00
Joe Marcus Clarke
e04782a6ba * Update to 0.14.1 without a shared library version bump
* Use new libtool scheme [1]

The primary addition in this release is support for C# files when generating
translations.

Submitted by:	mezz [1]
Tested by:	many, including mezz, adamw, and myself
2004-12-21 01:00:29 +00:00
Kris Kennaway
be3e1f7794 Clean up handling of locale directories at deinstall-time:
* Don't remove "system directories" (which were created by BSD.*.dist)
* Silently try to remove locale directories which we might have created
2004-12-16 05:49:27 +00:00
Kris Kennaway
601c4c3d9e Don't remove all empty locale directories, only the ones we created
ourselves.
2004-11-24 21:39:30 +00:00
Oliver Eikemeier
8469a18e50 - eliminate dependency on libexpat on >= 5.0
<http://lists.freebsd.org/pipermail/freebsd-ports/2004-October/016796.html>

Reviewed by:	ports@
2004-10-19 16:09:14 +00:00
David E. O'Brien
5fb67e9dec Previous revision accidently deleted the expat.5 dependancy.
s/NO_${PORTNAME}_OPTIONS/WITHOUT_${PORTNAME}_OPTIONS/
2004-08-27 17:52:06 +00:00
David E. O'Brien
23bc0fc303 Add a NO_GETTEXT_OPTIONS knob. 2004-08-27 01:16:48 +00:00
Kris Kennaway
777b9dd4b5 Put back OPTIONS now that release builds have been fixed to set BATCH
for non-interactivity.
2004-07-12 08:02:43 +00:00
David E. O'Brien
814693ba02 Fix the release build. 2004-07-12 05:16:29 +00:00
Volker Stolz
cbc526b06a Fix packaging issues for html-files.
Closes PR:	ports/67653
Noticed by:	Paul Beard
2004-06-14 16:03:56 +00:00
Pav Lucistnik
30cf3b6f06 - Relax mv in kaffe hack
PR:		ports/67453
Reported by:	Andreas Schulz <ats@first.fraunhofer.de>
2004-06-02 21:07:21 +00:00
Trevor Johnson
f1ef10d96e Correct last commit.
noticed by:	lofi
2004-04-07 18:47:06 +00:00
Trevor Johnson
0d0026487c Fix packing list when NOPORTDOCS is set.
Reported by:	parv
PR:		65241
2004-04-06 15:39:51 +00:00
Trevor Johnson
4ae1d01730 By default, do not install HTML-formatted man pages.
When NOPORTDOCS is set, do not install a few other HTML files.
2004-04-03 03:48:30 +00:00
Trevor Johnson
e485b65b57 Fix whitespace. 2004-04-03 02:34:13 +00:00
Trevor Johnson
ea182a1646 Correct packing list. 2004-04-03 02:03:27 +00:00
Trevor Johnson
d56569ff57 Make examples (mostly) optional, requested by obrien. 2004-04-02 12:25:24 +00:00
Jun Kuriyama
4a868f8a2a o Bump $LIB_DEPENDS line to chase expat's shlib version.
o Bump $PORTREVISION.
2004-03-14 07:58:26 +00:00
Trevor Johnson
e81f093a1b As discovered by Andrzej Tobola, gettext (this version, or the
0.12.1 version) fails to build if kaffe-devel-1.1.3 is installed.
Kludge around this.
2004-02-18 02:08:32 +00:00
Trevor Johnson
4e31efe372 Add "anti-foot-shooting device".
Obtained from:	sobomax via the imake-4 and linux_base ports
2004-02-08 21:46:37 +00:00
Joe Marcus Clarke
b89408e5c9 Use USE_ICONV. 2004-02-05 19:30:43 +00:00
Joe Marcus Clarke
440b82278a Remove the CONFLICTS as this is now the One True gettext. 2004-02-04 17:49:44 +00:00
Trevor Johnson
0c881ba59c SIZEify. 2004-01-29 07:24:56 +00:00
Dirk Meyer
c7c48602f4 - add missing manpage envsubst.1
was installed, but not in package.
2004-01-25 12:51:47 +00:00
Trevor Johnson
89fa0110cc version 0.13.1, noticed by marcus 2004-01-25 02:19:25 +00:00
Trevor Johnson
9f3acad11b Note conflict with old versions (requested by marcus). 2004-01-23 18:49:48 +00:00