1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
Commit Graph

157 Commits

Author SHA1 Message Date
Adam Weinberger
0ce9c970cf Rename x11-*/ patch-xy patches to reflect the files they modify.
Finally, this is the last of it.
2014-07-29 16:36:06 +00:00
Dmitry Marakasov
990cc8fdc8 - Properly handle shared directory in plist
PR:		191112
Submitted by:	amdmi3
Approved by:	kwm
2014-06-20 16:30:15 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Mathieu Arnold
f2cac0fa35 Replace all @unexec /bin/rmdir with @unexec rmdir
With hat:	portmgr
Sponsored by:	Absolight
2014-04-24 16:42:32 +00:00
Martin Wilke
6458aba45a - Stage support 2014-02-02 14:56:03 +00:00
Koop Mast
753e13b59c Fix pkgname collisions in gtk??[mm] ports. 2013-10-02 16:24:19 +00:00
Baptiste Daroussin
7e5a7bfffd Add NO_STAGE all over the place in preparation for the staging support (cat: x11-toolkits) 2013-09-20 23:57:47 +00:00
Andrej Zverev
184fe8daa4 - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Reviewed by:	kwm@
Approved by:	kwm@ (gnome@)
2013-09-12 17:55:41 +00:00
Baptiste Daroussin
83b78f74bc Finish converting x11* from WITHOUT_NLS to PORT_OPTIONS:MNLS 2013-05-06 06:41:15 +00:00
Alex Kozlov
e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00
Doug Barton
2b1dacc826 Remove more tags from pkg-descr files fo the form:
- Name
em@i.l

or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
2011-10-24 04:17:37 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Martin Wilke
4ed31e1af7 - Kick MD5 support 2011-07-02 18:18:48 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
8d837132c7 Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. 2010-05-31 02:01:56 +00:00
Jeremy Messenger
4c012c4d45 Only need Perl in the build time.
PR:		ports/145835
Submitted by:	Bapt <baptiste.daroussin@gmail.com>
2010-04-29 01:37:28 +00:00
Christian Weisgerber
7249aa0a13 Quote first argument to AC_DEFUN() to shut up aclocal warning.
Feature safe:	yes
2009-09-16 22:17:00 +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
Marcelo Araujo
7c806af372 - Use GNOME macro instead of ${MASTER_SITE_GNOME}, remove
MASTER_SITE_SUBDIR when possible.

PR:		ports/125243
Submitted by:	pgollucci
Reworked by:	myself
Tested on:	pointyhat exp-run (pav)
2009-02-02 01:36:16 +00:00
Edwin Groothuis
090059a210 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:17:21 +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
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
Joe Marcus Clarke
29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +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
186c2e326c Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 06:28:59 +00:00
Pav Lucistnik
e05544d7ba - Add SHA256 checksums 2005-11-23 22:41:05 +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
Pav Lucistnik
a7679d4fab - libdata/pkgconfig is now included in mtree
Approved by:	marcus (portmgr hat)
2005-05-16 21:52:58 +00:00
Alexander Nedotsukov
b408b86442 Fix inter-library dependency on libgdk.
Reported by:	krismail
2005-04-20 05:49:12 +00:00
Pav Lucistnik
b65bb97bbf - Use INFO
Requested by:	krion
2005-02-27 15:40:26 +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
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
Joe Marcus Clarke
3243838676 Always add the default gtkrc file to the search path so that we know we'll
have some sane theme properties when using KDE 3 or GNOME 2.

Submitted by:	kan
2004-04-17 18:17:15 +00:00
Pav Lucistnik
d86e03252b - Add SIZE to GNOME ports
Submitted by:	trevor
2004-03-18 14:46:32 +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
Kris Kennaway
1e9de467c7 Respect WITHOUT_NLS.
Approved by:	maintainer
2004-03-02 06:07:54 +00:00
Joe Marcus Clarke
186b8ba82f Add USE_GETTEXT and bump PORTREVISION.
Submitted by:	trevor
Tested by:	bento
2004-02-04 04:36:30 +00:00
Trevor Johnson
78da40aa98 Now gettext 0.12.1 is gettext-old. 2004-01-23 18:12:26 +00:00
Joe Marcus Clarke
a3108b1e51 Bump the PORTREVISION for the ports directly affected by the gettext upgrade.
Prodded by:	kris
2003-08-26 20:25:58 +00:00
Joe Marcus Clarke
adccc29aad Chase the libintl.so shared lib version. 2003-08-25 05:41:38 +00:00
Joe Marcus Clarke
b33eaf3276 Remove USE_GNOMENG. 2003-04-20 19:54:55 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Joe Marcus Clarke
bea8905c6f Remove the share/themes directory if it's empty.
Reported by:	bento
2003-01-13 02:17:37 +00:00
Joe Marcus Clarke
cd1489e639 Now that Glib 1.2 and GTK+ 1.2 are the only versions in the tree that use
the old xxx-config files, remove the "12" suffix.  This will allow people
building Glib and GTK+ ports by hand to do so without a lot of extra
hacking.  Since these ports are so heavily used, the xxx12-config files
aren't removed completely, but rather symlinked to their xxx-config
counterparts.

PR:		39417
2002-11-20 20:11:27 +00:00
Joe Marcus Clarke
59deb69012 GNOME has just changed the layout of their FTP site. This resulted in
making all the distfiles unfetachable.  Update all GNOME ports that fetch
from MASTER_SITE_GNOME to fetch from the correct location.
2002-09-20 17:07:51 +00:00
Kris Kennaway
e249821e95 Don't try and remove libdata on deinstall, because this is a system
directory.
2002-09-19 01:55:08 +00:00
Joe Marcus Clarke
ba7eaa817d Remove mention of the WITH_XINPUT macro.
Submitted by:	netchild
2002-09-10 16:27:10 +00:00
Joe Marcus Clarke
2a65b2a410 Enable XInput by default. Apparently, this doesn't hurt anything, and will
help people using certain input devices and in certain locales.

Requested by:	netchild, Teemu Hakala <temmi.hoo@kolumbus.fi>
2002-09-05 18:12:57 +00:00
Joe Marcus Clarke
4c68f6802d Add a knob for enabling XInput support.
Submitted by:	Rocco Caputo <troc@netrus.net> (with some modification)
2002-08-16 06:23:44 +00:00
Ade Lovett
c8eaa93644 Chase shlib rev of devel/gettext
Submitted by:	lots and lots
Pointy hat to:	ade
2002-08-01 16:22:41 +00:00