Commit graph

58 commits

Author SHA1 Message Date
Tijl Coosemans
c958a48581 Remove two libtool fixes from Mk/Uses/libtool.mk. They don't always work
when an older version of a package is installed.  This is the case when an
executable links with installed libraries and with uninstalled libraries
that link with other uninstalled libraries.  For each of the directly
linked libraries the executable will have an rpath (/usr/local/lib for the
installed libraries and a path under WRKDIR for each of the uninstalled
libraries), but not for the indirect libraries.  Both ld(1) and rtld(1)
search the rpath of the executable first before any rpath of libraries, so
the indirectly linked libraries will be found in /usr/local/lib if they are
installed instead of in WRKDIR.

With this commit executables will overlink with uninstalled indirect
libraries again so their location is added to the rpath of the executable.

This partially reverts r358784.

PR:		191611
Approved by:	portmgr (bapt)
2014-07-23 10:28:03 +00:00
Johan van Selst
2e47fec0ce This port does not need gmake
(no functional changes)
2014-07-06 09:31:36 +00:00
Tijl Coosemans
3e4a806167 Add 4 new sed commands to USES=libtool. The first two apply some of the
changes that Debian made to their libtool.  The first command applies to
libtool versions 1.4 and up.  The second command is somewhat more elaborate
but essentially it uses the sed hold space to move an "elif...fi" block
down.  It applies to 2.x.  Together these reduce overlinking to unpatched
.la files (from ports that don't have USES=libtool yet but also .la files
in the work directory).

The third and fourth command fix relinking.  During staging libtool may
relink libA when it links to another library in the work directory libB.
The reason is that libA created during build phase has its runpath set to
the location of libB in the work directory.  This allows running an
executable that links to libA from within the work directory.  The relink
removes this extra runpath.

When libtool relinks libA it replaces "libB.la" on the linker command line
with "-L${STAGEDIR}${PREFIX}/lib -lB" with the intention to link to libB in
the stage directory but this -L flag isn't necessarily the first so another
libB may be linked instead.  The two sed commands make relink the same as a
normal link.  This means libtool will relink with libraries from the work
directory using a path similar to "../srcB/.libs/libB.so" without -L flags.
This applies to libtool 1.4 and up.  Earlier versions don't seem to relink
libraries.
(This fixes ports like devel/apr1 so they link with freshly built libraries
instead of installed libraries.)

Fix all ports with missing libraries.

Additionally:
archivers/rpm4: USES=patchfix.
databases/gdbm: INSTALL_TARGET=install-strip.
devel/gnome-vfs: remove patch that doesn't change anything.
devel/ois: INSTALL_TARGET=install-strip and use standard USE_AUTOTOOLS.
devel/zziplib: INSTALL_TARGET=install-strip, MAKE_CMD.
multimedia/mjpegtools: remove USE_AUTOTOOLS, use modern compiler on i386
   instead of disabling optimisations.
net/libnetdude: disable static plugins.

PR:		190941
Exp-run:	antoine
Approved by:	portmgr (antoine)
2014-06-22 10:44:29 +00:00
Johan van Selst
64ccbc1f9f - Fix package breakage
- While here, modernise OPTIONS
- Bump PORTREVISION for plist change

PR:		ports/191016
Submitted by:	freebsd@nagilum.org
2014-06-15 07:48:46 +00:00
Dmitry Marakasov
5bf588307f - Switch to USES=libtool
Approved by:	portmgr blanket
2014-06-11 09:13:23 +00:00
Baptiste Daroussin
56fcf8379f Fix properties on pkg-plist 2014-01-21 23:18:05 +00:00
Johan van Selst
85b1935a9e - Update gdbm to 1.11
- Enable STAGE support
- Strip installed libraries
2013-12-28 19:11:14 +00:00
Baptiste Daroussin
36117d7097 Add NO_STAGE all over the place in preparation for the staging support (cat: databases) 2013-09-20 16:13:47 +00:00
Johan van Selst
046d6b6517 - Update GNU dbm to 1.10
- Add NLS support
- Adopt port

Approved by:    gabor (old maintainer)
2013-06-24 19:30:46 +00:00
Alexey Dokuchaev
8424650976 - Mark as make jobs (-jX) unsafe for the time being
- Drop the article from COMMENT line
- Define LICENSE (GPLv3)
- Remove pre-everything target: OPTIONS framework is vocal enough
- Improve and move OPTIONS knobs lower in the Makefile
- Fix bad indentation in post-patch commands as appropriate
- Correct a typo and reformat port description, and point WWW to a more
  up-to-date page version while I'm at it

Approved by:	gabor (maintainer)
2013-06-19 14:26:05 +00:00
Baptiste Daroussin
14bc5a6c11 Convert to new options framework left unconverted ports in databases category 2013-03-21 17:43:46 +00:00
Gabor Kovesdan
c6beb9cdcd - Update to 1.9.1
- Add OPTIONS for dbm/ndbm compatibility

PR:		ports/160250
Submitted by:	sunpoet
2011-09-12 13:20:47 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
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
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
Gabor Kovesdan
da92dce43f - Remove DESTDIR support from my ports as it is useless now. New implementation
is coming.
2007-03-31 19:56:19 +00:00
Kris Kennaway
ae994c8ea8 Use libtool port instead of included version to avoid objformat a.out botch 2007-02-01 02:42:05 +00:00
Gabor Kovesdan
7dc52a691f Change my e-mail address.
Approved by:	erwin (mentor)
2006-12-08 13:46:35 +00:00
Pav Lucistnik
a2d141f5d5 - Install files owned by root:wheel instead of bin:bin
PR:		ports/103270
Submitted by:	"Dr. Markus Waldeck" <waldeck@gmx.de>
Approved by:	maintainer timeout (14 days)
2006-10-31 22:01:36 +00:00
Erwin Lansing
b70a31b4c2 - Eliminate a patch
- Respect DESTDIR

PR:		101567
Submitted by:	gabor (maintainer)
2006-08-08 08:11:09 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Edwin Groothuis
3d887eb3f6 Remove install-info from Makefile, it's automatically done when INFO is defined 2005-12-04 23:35:14 +00:00
Renato Botelho
a7b8b9145b - Add SHA256 checksum
- Pass maintainership to submitter

PR:		ports/89842
Submitted by:	Gabor Kovesdan <gabor.kovesdan@t-hosting.hu>
2005-12-02 16:17:12 +00:00
Mark Linimon
7359600566 Reset maintainer per his request. We hope to see him back soon. 2005-12-02 02:05:39 +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
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Yen-Ming Lee
dbc4115061 - utilize INFO
PR:		71339
Submitted by:	leeym
Approved by:	maintainer
2004-10-13 00:36:54 +00:00
Joe Marcus Clarke
9e5632dd66 Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
2004-07-09 17:43:11 +00:00
Trevor Johnson
4a38811bfa Add size data.
Approved by:	maintainers
2004-03-18 02:52:47 +00:00
Ade Lovett
3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00
Joe Marcus Clarke
053fdb6a6b Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 2)
2004-02-04 05:21:48 +00:00
Akinori MUSHA
2e4c764a61 De-pkg-comment. 2003-02-21 11:15:57 +00:00
Yen-Ming Lee
ff83b59ece make readme fix
PR:		48228
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2003-02-15 11:24:06 +00:00
Yaroslav Tykhiy
7cca481c2d Add an option, WITH_COMPAT, to install the UNIX dbm/ndbm
compatibility files--libgdbm_compat and the header files.

PR:		ports/47363
Approved by:	Cyrille Lefevre <cyrille.lefevre@laposte.net> (MAINTAINER)
2003-01-22 17:01:13 +00:00
Ying-Chieh Liao
42bf525660 upgrade to 1.8.3
PR:		44222
Submitted by:	Ports Fury
Approved by:	maintainer
2003-01-03 08:16:54 +00:00
David W. Chapman Jr.
7cdb9dd859 Update maintainer's email address
Update a few MASTER_SITES

PR:		34012
Submitted by:	maintainer
2002-01-17 23:13:38 +00:00
Mario Sergio Fujikawa Ferreira
1340b8838e honor PREFIX
PR:		30387
Submitted by:	MAINTAINER
2001-09-12 23:20:29 +00:00
Mario Sergio Fujikawa Ferreira
96f3a37ff1 Update MAINTAINER email: clefevre@redirect.to -> clefevre@citeweb.net
Approved by: MAINTAINER
2001-08-30 03:58:35 +00:00
Peter Pentchev
5d0e1ef13c Change maintainer's email address:
clefevre@citeweb.net -> clefevre@redirect.to

PR:		27867 (followup)
Submitted by:	maintainer
2001-06-16 13:58:39 +00:00
Steve Price
242ee733b9 Tweak post-install target and the wording in pkg-descr.
PR:		24563
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
Approved by:	old maintainer
2001-02-26 04:24:44 +00:00
Satoshi Asami
ffb21b5654 Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
2000-06-16 21:52:40 +00:00
Maxim Sobolev
5178b48938 Final round of the INSTALLS_SHLIBS=yes conversion. Few remaining ports with
ldconfig in PLIST need personal consideration.
2000-06-16 10:38:50 +00:00
Michael Haro
3da86c6aa2 update with the new PORTNAME/PORTVERSION variables 2000-04-08 22:49:07 +00:00
Vanilla I. Shu
52ef91d730 Use ${CFLAGS}. 2000-02-27 04:43:29 +00:00
David E. O'Brien
c751fc667a Change Id->FreeBSD. 1999-08-25 05:28:01 +00:00
Tim Vanderhoek
748713c3f6 As threatened, enforce the "Capital, no period" rule. Ellipses are
permitted.  Note that, given current numeric motif of PW, this is done
in four equally-sized commits of 393 files each.
1999-06-26 17:19:19 +00:00
Steve Price
2e3ee07db2 Update to version 1.8.0 and set USE_LIBTOOL=yes.
PR:		11811
Submitted by:	Chris Piazza <cpiazza@home.net>
1999-06-06 16:49:05 +00:00