Commit Graph

571 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
771ea13f41 Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by:	exp build run (erwin)
2008-08-20 00:57:32 +00:00
Mark Linimon
e54c7f9f9b Reset grog@FreeBSD.org: last commit was more than 6 months ago, and
PRs are outstanding.
2008-08-07 08:58:31 +00:00
Ion-Mihai Tetcu
9f6a5b8617 - fix typo -> plist for -DNOPORTDOCS
- SUB_FILES= pkg-plist and s/X11/Xorg/
- use MASTER_SITE_BERLIOS
- bump PORTREVISION

Prompted by: 	QA Tindy run
2008-07-04 14:04:22 +00:00
Florent Thoumie
ee62c8d3a1 Remove x11-servers/xorg-server-snap as it has been unmaintained for a while. 2008-06-19 15:35:00 +00:00
Florent Thoumie
f6f6dbd0e4 Update x11-servers/xorg-server to 1.4.2 (security update). 2008-06-15 12:24:20 +00:00
Florent Thoumie
bb72f9298b Explicitely disable dtrace support for now.
Reported by:	kris
2008-06-09 13:43:53 +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
Florent Thoumie
808deb28b3 Add upstream patch (don't free not-allocated dbus socket).
PR:		ports/124081
Submitted by:	deischen
Obtained from:	fd.o git repository
2008-05-29 11:02:54 +00:00
Florent Thoumie
96a7a8ca6a Disable dtrace support for now as userland tracing isn't supported yet.
Suggested by:	jb
2008-05-27 15:37:15 +00:00
Florent Thoumie
2cbd37b3df Add xephyr, a kdrive-based X server. Xephyr will ultimately replace Xnest.
PR:		ports/123795
Submitted by:	Max Brazhnikov <makc@issp.ac.ru>
2008-05-20 12:18:29 +00:00
Florent Thoumie
52f31f2652 Mark xorg-server-snap as DEPRECATED and set EXPIRATION_DATE to next month. 2008-05-20 12:10:54 +00:00
Florent Thoumie
6f79a82d0c Retire xorg-printserver. 2008-05-15 22:00:09 +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
Jung-uk Kim
d25360c7a5 - Auto-detect and use native extended PS/2 protocols with the latest psm(4).
Since psm has gained write(2) support, it can be directly driven by X.org
input drivers without help of moused(8) or SysMouse protocol.
- Fix regressions without moused running.

PR:	ports/122363, ports/122405
2008-04-15 18:01:15 +00:00
Jung-uk Kim
980b1eb7b1 Fix mouse probing issues with HAL support:
- Do not probe /dev/psm0 as SysMouse if HAL support is enabled.
- Add /dev/ums0 as SysMouse if HAL support is disabled.
- Do not force sysmouse(4) mode unless device is /dev/sysmouse.  When
moused(8) is not running, current mode level is untouched.
- Correcly check if moused is actually running.  Checking pid file is
not enough because it may be /var/run/moused.<device>.pid when it is
invoked by devd(8) for USB mice.
- Do not attach device if it is opened by moused.
- Correctly add device path for HAL.

This patch is tested with many possible combinations of moused(8), HAL,
PS/2 mouse, USB mouse, and xorg.conf.

Tested by:	cokane, jkim, marcus,
		Matthew Seaman (m dot seaman at infracaninophile dot co dot uk)
2008-04-01 18:14:34 +00:00
Martin Wilke
cda30a295f - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
2008-03-25 22:44:48 +00:00
Florent Thoumie
fd311e0fcb Add inputproto and xtrans to USE_XORG.
Reported by:	marcus, erwin
2008-03-14 16:30:50 +00:00
Florent Thoumie
8d0edb5635 Add inputproto and xtrans to USE_XORG.
Reported by:	erwin
2008-03-14 16:29:57 +00:00
Florent Thoumie
db1fcc370a Add patch that fixes xmodmap use in .xinitrc.
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Obtained from:	fd.o xorg/xserver repository
Commit id:	27ad5d74c20f01516a1bff73be283f8982fcf0fe
2008-03-13 11:37:31 +00:00
Florent Thoumie
836aebde5b Remove support for XFree8-4.
From now on, X_WINDOW_SYSTEM != "xorg" is not supported anymore.

PR:		ports/119418
Submitted by:	flz
Approved by:	portmgr (pav)
2008-03-07 21:47:50 +00:00
Jung-uk Kim
ba4bc11dc8 - Check correct POSIX spec. date for clock_gettime(2) whether
CLOCK_MONOTONIC is available.
- If FreeBSD-specific CLOCK_MONOTONIC_FAST is available, use it
instead of precise but slow gettimeofday(2) or CLOCK_MONOTONIC.

Reviewed by:	stable, x11
2008-03-06 00:48:43 +00:00
Florent Thoumie
37a35b1d73 Fix xserver multiple vulnerabilities.
Security:	http://www.vuxml.org/freebsd/fe2b6597-c9a4-11dc-8da8-0008a18a9961.html
2008-01-23 12:18:47 +00:00
Florent Thoumie
ff3675ba98 - Add local patch to fix alpha build. [1]
- Add local patch to fix powerpc build. [2][3]
- Fix OPTIONS handling for SUID option. [4]

PR:		ports/113601 [1], ports/118850 [2],
		ports/118851 [3], ports/119012 [4]
Submitted by:	naddy [1], grehan [2][3],
		Dmitry Marakasov [4]
2008-01-02 12:58:05 +00:00
Florent Thoumie
4e06c5d4b8 - OPTIONS'ify.
- Fix build and register dependency when compiled with HAL support.
2007-12-12 18:38:28 +00:00
Florent Thoumie
1c8aae3467 - OPTIONS'ify (HAL, AIGLX, SUID).
- Fix CONFIGURE_ARGS. [1]

Submitted by:	alvest@earthlink.net [1]
2007-12-12 17:34:16 +00:00
Mark Linimon
c2fdd1f505 Fix plist for sparc64. Should be a no-op on other archs, but bump
portrevision for sparc64.  While here, pet portlint.

Tested on:	pointyhat
Submitted by:	flz
Approved by:	portmgr (self)
2007-11-19 17:17:39 +00:00
Florent Thoumie
88e6e25580 Add temporary fix for LEDs. Proper fix will be available in next
xorg-server release but this one has been deemed good enough for now.

Obtained from:	fd.o bugzilla
2007-10-29 14:04:27 +00:00
Florent Thoumie
085771cda4 Restore default optimization on RELENG_7.
PR:		ports/117445
Submitted by:	Ildar <dar.quonb@gmai.com>
2007-10-24 13:33:37 +00:00
Florent Thoumie
b8153ee40f - Explicit some configure arguments.
- Mark as IGNORE on alpha since it does work correctly.
2007-10-09 22:31:49 +00:00
Norikatsu Shigemura
d11d5d4447 Change to new x11-drivers category.
Repo copied by:	marcus (portmgr)
2007-10-06 13:57:12 +00:00
Marius Strobl
5be6d0491c Teach xorg-server that FreeBSD >= 700053 supports PCI domains and
how to deal with it. This affects !386 only and is based on the
respective Linux support code.

Approved by:	flz
2007-09-30 11:01:41 +00:00
Mark Linimon
48420a5ebd Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR:		ports/116639
Submitted by:	aDe
2007-09-30 04:47:36 +00:00
Florent Thoumie
62df320cc3 - Update X.org ports to 7.3.
- Mark XFree86-4 as DEPRECATED with EXPIRATION_DATE set to 2007-12-25.
I hope that nobody will be bored enough on Christmas to remove them on
that day.

Tested by:	vehemens, Rene Ladan, Beech Rintoul, sarek on x11@
2007-09-13 19:45:08 +00:00
Alexey Dokuchaev
d3cbbefb7e - Consistencify descriptions
- Kill unnecessary attribution
- Trim EOL whitespace
2007-07-02 19:55:33 +00:00
Alexey Dokuchaev
d7e47ed397 Fix missing Xlibs dependency.
Reported by:	pav
2007-07-02 19:53:52 +00:00
Alexey Dokuchaev
c84a425296 - Fix the build with recent GCC [1]
- Pet portlint(1)
- Clean up Makefile

Reported by:	pointyhat (logs) [1]
2007-06-30 20:38:21 +00:00
Dejan Lesjak
07da6fb1ec Band-aid over memory hungry gcc 4.2 when compiling xf86ScanPci.c.
Submitted by:	Michiel Boland ( michiel at boland dot org )
2007-06-21 17:33:47 +00:00
Dejan Lesjak
d9236e3914 Clenup share/X11 directory upon deinstall.
Pointed out by:	kris
2007-05-30 23:59:32 +00:00
Florent Thoumie
19bec8f4c8 xorg-fontserver moved from x11-servers to x11-fonts (xfs).
Approved by:	portmgr (erwin)
2007-05-20 03:21:03 +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
Dejan Lesjak
b5cf96ec63 Fix loading modules on current by adding patch from devel/imake-6 since
local copy of imake is used at configuring. Since FreeBSD versions older
than 300004 are not supported, simplify patch to just return elf for
default.

PR:		ports/109091
Submitted by:	Szilveszter Adam (sziszi at bsd dot hu)
2007-02-22 21:18:01 +00:00
Dejan Lesjak
0b7bf38e90 Add vendor patch preventing overwiting of data on the stack or other
parts of server by dbe and render extensions.

PR:		ports/107733
Security:	CVE-2006-6101 CVE-2006-6102 CVE-2006-6103
2007-01-27 20:22:20 +00:00
Frank J. Laszlo
a959b841d6 Respect X11BASE.
Approved by:	flz (mentor)
Reported By:	pointyhat
2006-11-30 23:27:04 +00:00
Pav Lucistnik
d8f3214e5f - Fix install with Xorg 6.9.0, unbreak
- Support amd64

PR:		ports/104532
Submitted by:	Xavier Beaudouin <kiwi@oav.net>,
		Anish Mistry <amistry@am-productions.biz>
Approved by:	maintainer timeout (x11, 1 month)
2006-11-19 12:58:04 +00:00
Joe Marcus Clarke
0d32a85b88 Add some old internal FreeType definitions to fix the server runtime. These
definitions come from the old ftinternal.h.

Submitted by:	Scott Allendorf <scott-allendorf@uiowa.edu>
Approved by:	portmgr (implicit)
2006-10-21 21:58:35 +00:00
Joe Marcus Clarke
0ba9dd00ff Remove the FreeType EXTRA_PATCHES now that they are in XFree86-4-libraries.
Submitted by:	Scott Allendorf <scott-allendorf@uiowa.edu>
Approved by:	portmgr (implicit)
2006-10-17 20:04:48 +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
Kris Kennaway
3f155b6f66 BROKEN: Does not install 2006-09-17 01:21:21 +00:00
Kris Kennaway
9733f88971 NO_PACKAGE is not appropriate 2006-09-03 00:27:43 +00:00