diff options
24 files changed, 295 insertions, 90 deletions
diff --git a/x11-fonts/XFree86-4-font100dpi/Makefile b/x11-fonts/XFree86-4-font100dpi/Makefile index 645c3c003511..3a57b6a95e55 100644 --- a/x11-fonts/XFree86-4-font100dpi/Makefile +++ b/x11-fonts/XFree86-4-font100dpi/Makefile @@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTVERSION} PKGNAMEPREFIX= XFree86- DISTFILES= X${PORTVERSION:S/.//g}src-2.tgz -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings diff --git a/x11-fonts/XFree86-4-font75dpi/Makefile b/x11-fonts/XFree86-4-font75dpi/Makefile index 3c9cee3cea1f..28f73667c7b5 100644 --- a/x11-fonts/XFree86-4-font75dpi/Makefile +++ b/x11-fonts/XFree86-4-font75dpi/Makefile @@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTVERSION} PKGNAMEPREFIX= XFree86- DISTFILES= X${PORTVERSION:S/.//g}src-2.tgz -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings diff --git a/x11-fonts/XFree86-4-fontCyrillic/Makefile b/x11-fonts/XFree86-4-fontCyrillic/Makefile index 2430db84b855..8ebb6ed710b0 100644 --- a/x11-fonts/XFree86-4-fontCyrillic/Makefile +++ b/x11-fonts/XFree86-4-fontCyrillic/Makefile @@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTVERSION} PKGNAMEPREFIX= XFree86- DISTFILES= X${PORTVERSION:S/.//g}src-2.tgz -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings diff --git a/x11-fonts/XFree86-4-fontDefaultBitmaps/Makefile b/x11-fonts/XFree86-4-fontDefaultBitmaps/Makefile index e33e6ccd39db..af89dfbb9f55 100644 --- a/x11-fonts/XFree86-4-fontDefaultBitmaps/Makefile +++ b/x11-fonts/XFree86-4-fontDefaultBitmaps/Makefile @@ -14,7 +14,7 @@ PKGNAMEPREFIX= XFree86- DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz X${PORTVERSION:S/.//g}src-2.tgz EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-2.tgz -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings diff --git a/x11-fonts/XFree86-4-fontEncodings/Makefile b/x11-fonts/XFree86-4-fontEncodings/Makefile index dd428a469e49..0e4d2ce0188a 100644 --- a/x11-fonts/XFree86-4-fontEncodings/Makefile +++ b/x11-fonts/XFree86-4-fontEncodings/Makefile @@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTVERSION} PKGNAMEPREFIX= XFree86- DISTFILES= X${PORTVERSION:S/.//g}src-2.tgz -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients diff --git a/x11-fonts/XFree86-4-fontScalable/Makefile b/x11-fonts/XFree86-4-fontScalable/Makefile index 61ca89a7ee70..c0efb5b5dd05 100644 --- a/x11-fonts/XFree86-4-fontScalable/Makefile +++ b/x11-fonts/XFree86-4-fontScalable/Makefile @@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTVERSION} PKGNAMEPREFIX= XFree86- DISTFILES= X${PORTVERSION:S/.//g}src-2.tgz -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings diff --git a/x11-servers/XFree86-4-FontServer/Makefile b/x11-servers/XFree86-4-FontServer/Makefile index 7672cb8c029e..119d217f81a5 100644 --- a/x11-servers/XFree86-4-FontServer/Makefile +++ b/x11-servers/XFree86-4-FontServer/Makefile @@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTVERSION} PKGNAMEPREFIX= XFree86- DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org XFREE86_VERSION= 4 USE_IMAKE= YES @@ -27,5 +27,6 @@ MAN1= Xserver.1 xfs.1 do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure + @cd ${WRKSRC}; ${MAKE} FreeBSDPortsConfigure .include <bsd.port.mk> diff --git a/x11-servers/XFree86-4-NestServer/Makefile b/x11-servers/XFree86-4-NestServer/Makefile index b975d5fbda0b..8b116a74298f 100644 --- a/x11-servers/XFree86-4-NestServer/Makefile +++ b/x11-servers/XFree86-4-NestServer/Makefile @@ -18,7 +18,7 @@ DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz Wraphelp.c:wrap EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-1.tgz IGNOREFILES= Wraphelp.c -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org XFREE86_VERSION= 4 USE_IMAKE= YES @@ -36,5 +36,6 @@ HasXdmAuth?= YES do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure + @cd ${WRKSRC}; ${MAKE} FreeBSDPortsConfigure .include <bsd.port.mk> diff --git a/x11-servers/XFree86-4-PrintServer/Makefile b/x11-servers/XFree86-4-PrintServer/Makefile index f83b9e35eedf..8ce0dab4ea68 100644 --- a/x11-servers/XFree86-4-PrintServer/Makefile +++ b/x11-servers/XFree86-4-PrintServer/Makefile @@ -18,7 +18,7 @@ DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz Wraphelp.c:wrap EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-1.tgz IGNOREFILES= Wraphelp.c -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org XFREE86_VERSION= 4 USE_IMAKE= YES @@ -34,5 +34,6 @@ HasXdmAuth?= YES do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure + @cd ${WRKSRC}; ${MAKE} FreeBSDPortsConfigure .include <bsd.port.mk> diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile index 05e15c9e7ffe..981748848552 100644 --- a/x11-servers/XFree86-4-Server-snap/Makefile +++ b/x11-servers/XFree86-4-Server-snap/Makefile @@ -7,7 +7,7 @@ PORTNAME= Server PORTVERSION= 4.2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE} \ ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \ @@ -19,7 +19,7 @@ DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz Wraphelp.c:wrap EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-1.tgz IGNOREFILES= Wraphelp.c -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org XFREE86_VERSION= 4 USE_IMAKE= YES @@ -37,8 +37,7 @@ SCRIPTS_ENV= OSVERSION=${OSVERSION} \ BuildXF86DRI=${BuildXF86DRI} \ HasGlide3=${HasGlide3} \ HaveMatroxHal=${HaveMatroxHal} -MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man WORLDOPTS= -MAKE_ARGS= WORLDOPTS= +MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man ALL_TARGET= FreeBSDPortsBuild INSTALL_TARGET= FreeBSDPortsInstall FreeBSDPortsInstall.man MAN1= XFree86.1 \ @@ -65,6 +64,7 @@ MAN4= mga.4 \ tdfx.4 \ glint.4 \ s3virge.4 \ + r128.4 \ rendition.4 \ savage.4 \ nv.4 \ @@ -114,7 +114,6 @@ PLIST_SUB+= ALPHA_NA="@comment " .else PLIST_SUB+= ALPHA_NA="" MAN1+= scanpci.1 -MAN4+= vmware.4 .endif .if ${ARCH} == i386 @@ -129,11 +128,11 @@ MAN4+= apm.4 \ i740.4 \ i810.4 \ neomagic.4 \ - r128.4 \ sis.4 \ trident.4 \ tseng.4 \ - vesa.4 + vesa.4 \ + vmware.4 .else PLIST_SUB+= I386:="@comment " .endif @@ -198,6 +197,7 @@ PLIST_SUB+= MATROX="@comment " do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure + @cd ${WRKSRC}; ${MAKE} FreeBSDPortsConfigure post-build: @${RM} -f ${PKGMESSAGE} diff --git a/x11-servers/XFree86-4-Server-snap/pkg-plist b/x11-servers/XFree86-4-Server-snap/pkg-plist index d083ffa1510b..a52cea5e9f79 100644 --- a/x11-servers/XFree86-4-Server-snap/pkg-plist +++ b/x11-servers/XFree86-4-Server-snap/pkg-plist @@ -24,7 +24,7 @@ lib/X11/doc/README.DRIcomp %%I386:%%lib/X11/doc/README.I128 %%I386:%%lib/X11/doc/README.SiS %%I386:%%lib/X11/doc/README.apm -%%I386:%%lib/X11/doc/README.ati +lib/X11/doc/README.ati %%I386:%%lib/X11/doc/README.chips %%I386:%%lib/X11/doc/README.cyrix lib/X11/doc/README.dps @@ -82,14 +82,14 @@ lib/modules/codeconv/libVISCII.a %%I386:%%%%DRI%%lib/modules/dri/i810_dri.so %%I386:%%%%DRI%%lib/modules/dri/i830_dri.so %%DRI%%lib/modules/dri/mga_dri.so -%%I386:%%%%DRI%%lib/modules/dri/radeon_dri.so -%%I386:%%%%DRI%%lib/modules/dri/r128_dri.so +%%DRI%%lib/modules/dri/radeon_dri.so +%%DRI%%lib/modules/dri/r128_dri.so %%I386:%%%%DRI%%lib/modules/dri/sis_dri.so %%DRI%%lib/modules/dri/tdfx_dri.so %%I386:%%lib/modules/drivers/apm_drv.o %%I386:%%lib/modules/drivers/ark_drv.o -%%I386:%%lib/modules/drivers/ati_drv.o -%%I386:%%lib/modules/drivers/atimisc_drv.o +lib/modules/drivers/ati_drv.o +lib/modules/drivers/atimisc_drv.o %%I386:%%lib/modules/drivers/chips_drv.o %%I386:%%lib/modules/drivers/cirrus_alpine.o %%I386:%%lib/modules/drivers/cirrus_drv.o @@ -104,8 +104,8 @@ lib/modules/drivers/mga_drv.o %%MATROX%%lib/modules/drivers/mga_hal_drv.o %%I386:%%lib/modules/drivers/neomagic_drv.o lib/modules/drivers/nv_drv.o -%%I386:%%lib/modules/drivers/r128_drv.o -%%I386:%%lib/modules/drivers/radeon_drv.o +lib/modules/drivers/r128_drv.o +lib/modules/drivers/radeon_drv.o lib/modules/drivers/rendition_drv.o lib/modules/drivers/s3_drv.o lib/modules/drivers/s3virge_drv.o diff --git a/x11-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure index 7b98c307c507..b7f67d6c4d8b 100644 --- a/x11-servers/XFree86-4-Server-snap/scripts/configure +++ b/x11-servers/XFree86-4-Server-snap/scripts/configure @@ -25,7 +25,7 @@ configure () { # It's good for FreeBSD ports/packages system. echo "#define NothingOutsideProjectRoot YES" >> $LOCALDEF - # Now, We can use this configuration. + # Now, we can use this configuration. # Thanks, Trevor Johnson <trevor@jpj.net> echo "#define InstallXserverSetUID NO" >> $LOCALDEF @@ -79,25 +79,28 @@ configure () { echo "#define XF86Server YES" >> $LOCALDEF echo "#define BuildServersOnly YES" >> $LOCALDEF echo "#define BuildXFree86ConfigTools YES" >> $LOCALDEF + + # More of the i386 drivers could probably move to XF86CardDrivers. + # Is fbdev driver useful to us? + # GlideDriver was left out because we have no Glide2 package. cat >> $LOCALDEF <<END #ifndef XF86CardDrivers #ifdef i386Architecture -#define XF86CardDrivers mga glint nv tga s3 s3virge sis rendition \ - neomagic i740 tdfx savage \ - cirrus vmware tseng trident chips apm \ - GlideDriver fbdev i128 \ - ati AgpGartDrivers DevelDrivers ark cyrix \ - siliconmotion \ - vesa vga XF86OSCardDrivers XF86ExtraCardDrivers -#else -#ifdef AlphaArchitecture -#define XF86CardDrivers mga tdfx glint s3 s3virge rendition tga \ - savage nv DevelDrivers siliconmotion vga \ - XF86OSCardDrivers XF86ExtraCardDrivers -#endif +#define ArchSpecificDrivers apm ark chips cirrus cyrix fbdev i740 \ + i128 i810 neomagic sis trident tseng \ + vesa vmware +#define DriDrivers gamma tdfx mga i810 i830 r128 radeon sis +#elif defined(AlphaArchitecture) +#define ArchSpecificDrivers +#define DriDrivers gamma tdfx mga r128 radeon #endif +#define XF86CardDrivers ati glint mga nv rendition s3 s3virge \ + savage siliconmotion tdfx tga vga \ + ArchSpecificDrivers DevelDrivers \ + XF86OSCardDrivers XF86ExtraCardDrivers #endif END + echo "#define BuildThreadStubLibrary YES" >> $LOCALDEF echo "#define FreeBSDBuildXxserv YES" >> $LOCALDEF diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile index 05e15c9e7ffe..981748848552 100644 --- a/x11-servers/XFree86-4-Server/Makefile +++ b/x11-servers/XFree86-4-Server/Makefile @@ -7,7 +7,7 @@ PORTNAME= Server PORTVERSION= 4.2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE} \ ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \ @@ -19,7 +19,7 @@ DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz Wraphelp.c:wrap EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-1.tgz IGNOREFILES= Wraphelp.c -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org XFREE86_VERSION= 4 USE_IMAKE= YES @@ -37,8 +37,7 @@ SCRIPTS_ENV= OSVERSION=${OSVERSION} \ BuildXF86DRI=${BuildXF86DRI} \ HasGlide3=${HasGlide3} \ HaveMatroxHal=${HaveMatroxHal} -MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man WORLDOPTS= -MAKE_ARGS= WORLDOPTS= +MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man ALL_TARGET= FreeBSDPortsBuild INSTALL_TARGET= FreeBSDPortsInstall FreeBSDPortsInstall.man MAN1= XFree86.1 \ @@ -65,6 +64,7 @@ MAN4= mga.4 \ tdfx.4 \ glint.4 \ s3virge.4 \ + r128.4 \ rendition.4 \ savage.4 \ nv.4 \ @@ -114,7 +114,6 @@ PLIST_SUB+= ALPHA_NA="@comment " .else PLIST_SUB+= ALPHA_NA="" MAN1+= scanpci.1 -MAN4+= vmware.4 .endif .if ${ARCH} == i386 @@ -129,11 +128,11 @@ MAN4+= apm.4 \ i740.4 \ i810.4 \ neomagic.4 \ - r128.4 \ sis.4 \ trident.4 \ tseng.4 \ - vesa.4 + vesa.4 \ + vmware.4 .else PLIST_SUB+= I386:="@comment " .endif @@ -198,6 +197,7 @@ PLIST_SUB+= MATROX="@comment " do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure + @cd ${WRKSRC}; ${MAKE} FreeBSDPortsConfigure post-build: @${RM} -f ${PKGMESSAGE} diff --git a/x11-servers/XFree86-4-Server/pkg-plist b/x11-servers/XFree86-4-Server/pkg-plist index d083ffa1510b..a52cea5e9f79 100644 --- a/x11-servers/XFree86-4-Server/pkg-plist +++ b/x11-servers/XFree86-4-Server/pkg-plist @@ -24,7 +24,7 @@ lib/X11/doc/README.DRIcomp %%I386:%%lib/X11/doc/README.I128 %%I386:%%lib/X11/doc/README.SiS %%I386:%%lib/X11/doc/README.apm -%%I386:%%lib/X11/doc/README.ati +lib/X11/doc/README.ati %%I386:%%lib/X11/doc/README.chips %%I386:%%lib/X11/doc/README.cyrix lib/X11/doc/README.dps @@ -82,14 +82,14 @@ lib/modules/codeconv/libVISCII.a %%I386:%%%%DRI%%lib/modules/dri/i810_dri.so %%I386:%%%%DRI%%lib/modules/dri/i830_dri.so %%DRI%%lib/modules/dri/mga_dri.so -%%I386:%%%%DRI%%lib/modules/dri/radeon_dri.so -%%I386:%%%%DRI%%lib/modules/dri/r128_dri.so +%%DRI%%lib/modules/dri/radeon_dri.so +%%DRI%%lib/modules/dri/r128_dri.so %%I386:%%%%DRI%%lib/modules/dri/sis_dri.so %%DRI%%lib/modules/dri/tdfx_dri.so %%I386:%%lib/modules/drivers/apm_drv.o %%I386:%%lib/modules/drivers/ark_drv.o -%%I386:%%lib/modules/drivers/ati_drv.o -%%I386:%%lib/modules/drivers/atimisc_drv.o +lib/modules/drivers/ati_drv.o +lib/modules/drivers/atimisc_drv.o %%I386:%%lib/modules/drivers/chips_drv.o %%I386:%%lib/modules/drivers/cirrus_alpine.o %%I386:%%lib/modules/drivers/cirrus_drv.o @@ -104,8 +104,8 @@ lib/modules/drivers/mga_drv.o %%MATROX%%lib/modules/drivers/mga_hal_drv.o %%I386:%%lib/modules/drivers/neomagic_drv.o lib/modules/drivers/nv_drv.o -%%I386:%%lib/modules/drivers/r128_drv.o -%%I386:%%lib/modules/drivers/radeon_drv.o +lib/modules/drivers/r128_drv.o +lib/modules/drivers/radeon_drv.o lib/modules/drivers/rendition_drv.o lib/modules/drivers/s3_drv.o lib/modules/drivers/s3virge_drv.o diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure index 7b98c307c507..b7f67d6c4d8b 100644 --- a/x11-servers/XFree86-4-Server/scripts/configure +++ b/x11-servers/XFree86-4-Server/scripts/configure @@ -25,7 +25,7 @@ configure () { # It's good for FreeBSD ports/packages system. echo "#define NothingOutsideProjectRoot YES" >> $LOCALDEF - # Now, We can use this configuration. + # Now, we can use this configuration. # Thanks, Trevor Johnson <trevor@jpj.net> echo "#define InstallXserverSetUID NO" >> $LOCALDEF @@ -79,25 +79,28 @@ configure () { echo "#define XF86Server YES" >> $LOCALDEF echo "#define BuildServersOnly YES" >> $LOCALDEF echo "#define BuildXFree86ConfigTools YES" >> $LOCALDEF + + # More of the i386 drivers could probably move to XF86CardDrivers. + # Is fbdev driver useful to us? + # GlideDriver was left out because we have no Glide2 package. cat >> $LOCALDEF <<END #ifndef XF86CardDrivers #ifdef i386Architecture -#define XF86CardDrivers mga glint nv tga s3 s3virge sis rendition \ - neomagic i740 tdfx savage \ - cirrus vmware tseng trident chips apm \ - GlideDriver fbdev i128 \ - ati AgpGartDrivers DevelDrivers ark cyrix \ - siliconmotion \ - vesa vga XF86OSCardDrivers XF86ExtraCardDrivers -#else -#ifdef AlphaArchitecture -#define XF86CardDrivers mga tdfx glint s3 s3virge rendition tga \ - savage nv DevelDrivers siliconmotion vga \ - XF86OSCardDrivers XF86ExtraCardDrivers -#endif +#define ArchSpecificDrivers apm ark chips cirrus cyrix fbdev i740 \ + i128 i810 neomagic sis trident tseng \ + vesa vmware +#define DriDrivers gamma tdfx mga i810 i830 r128 radeon sis +#elif defined(AlphaArchitecture) +#define ArchSpecificDrivers +#define DriDrivers gamma tdfx mga r128 radeon #endif +#define XF86CardDrivers ati glint mga nv rendition s3 s3virge \ + savage siliconmotion tdfx tga vga \ + ArchSpecificDrivers DevelDrivers \ + XF86OSCardDrivers XF86ExtraCardDrivers #endif END + echo "#define BuildThreadStubLibrary YES" >> $LOCALDEF echo "#define FreeBSDBuildXxserv YES" >> $LOCALDEF diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile b/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile index e439640af901..e5bf29b32052 100644 --- a/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile +++ b/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile @@ -19,7 +19,7 @@ DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz Wraphelp.c:wrap EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-1.tgz IGNOREFILES= Wraphelp.c -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org RUN_DEPENDS= ${FONT}:${PORTSDIR}/x11-fonts/XFree86-4-fontDefaultBitmaps @@ -40,5 +40,6 @@ HasXdmAuth?= YES do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure + @cd ${WRKSRC}; ${MAKE} FreeBSDPortsConfigure .include <bsd.port.mk> diff --git a/x11/XFree86-4-clients/Makefile b/x11/XFree86-4-clients/Makefile index c05a3bc87817..07f8c7d1a11a 100644 --- a/x11/XFree86-4-clients/Makefile +++ b/x11/XFree86-4-clients/Makefile @@ -20,7 +20,7 @@ DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz \ EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-1.tgz IGNOREFILES= Wraphelp.c -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org XFREE86_VERSION= 4 USE_IMAKE= YES @@ -74,6 +74,7 @@ post-patch: do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure + @cd ${WRKSRC}; ${MAKE} FreeBSDPortsConfigure .include <bsd.port.pre.mk> .include "${FILESDIR}/manpages" diff --git a/x11/XFree86-4-documents/Makefile b/x11/XFree86-4-documents/Makefile index 86667fce008a..711cd580cef9 100644 --- a/x11/XFree86-4-documents/Makefile +++ b/x11/XFree86-4-documents/Makefile @@ -14,7 +14,7 @@ PKGNAMEPREFIX= XFree86- DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz X${PORTVERSION:S/.//g}src-2.tgz X${PORTVERSION:S/.//g}src-3.tgz EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-2.tgz X${PORTVERSION:S/.//g}src-3.tgz -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org XFREE86_VERSION= 4 USE_IMAKE= YES diff --git a/x11/XFree86-4-libraries/Makefile b/x11/XFree86-4-libraries/Makefile index 16d29d94f57b..b74044242e1e 100644 --- a/x11/XFree86-4-libraries/Makefile +++ b/x11/XFree86-4-libraries/Makefile @@ -7,7 +7,7 @@ PORTNAME= libraries PORTVERSION= 4.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XFREE} \ ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \ @@ -25,7 +25,7 @@ PATCHFILES= 4.2.0-xlib-i18n-module.patch \ 4.2.0-libGLU-bad-extern.patch PATCH_DIST_STRIP= -p1 -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4 LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 @@ -97,6 +97,7 @@ post-patch: do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure + @cd ${WRKSRC}; ${MAKE} FreeBSDPortsConfigure post-install: @${MKHTMLINDEX} ${X11BASE}/lib/X11/doc/html diff --git a/x11/XFree86-4-libraries/files/patch-bsdLib.rules b/x11/XFree86-4-libraries/files/patch-bsdLib.rules new file mode 100644 index 000000000000..6feea2583eae --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-bsdLib.rules @@ -0,0 +1,37 @@ +--- config/cf/bsdLib.rules.orig Wed Jul 10 17:25:29 2002 ++++ config/cf/bsdLib.rules Wed Jul 10 17:25:32 2002 +@@ -306,6 +306,34 @@ + + #endif /* SharedDepLibraryTarget */ + ++/* ++ * SharedDepCplusplusLibraryTarget - generate rules to create a shared library. ++ */ ++#ifndef SharedDepCplusplusLibraryTarget ++#define SharedDepCplusplusLibraryTarget(libname,rev,deplist,solist,down,up) @@\ ++AllTarget(Concat(lib,libname.so.rev)) @@\ ++ @@\ ++Concat(lib,libname.so.rev): deplist @@\ ++ $(RM) $@~ @@\ ++ @SONAME=`echo $@ | sed 's/\.[^\.]*$$//'`; set -x; \ @@\ ++ (cd down; $(CXX) -o up/$@~ $(SHLIBLDFLAGS) -Wl,-soname,$$SONAME solist $(REQUIREDLIBS) BaseShLibReqs); \ @@\ ++ $(RM) $$SONAME; $(LN) $@ $$SONAME; \ @@\ ++ LinkBuildSonameLibrary($$SONAME) @@\ ++ $(RM) $@ @@\ ++ $(MV) $@~ $@ @@\ ++ $(RM) Concat(lib,libname.so) @@\ ++ $(LN) $@ Concat(lib,libname.so) @@\ ++ LinkBuildLibrary($@) @@\ ++ LinkBuildLibrary(Concat(lib,libname.so)) @@\ ++ @@\ ++clean:: @@\ ++ @SONAME=`echo Concat(lib,libname.so.rev) | sed 's/\.[^\.]*$$//'`; \ @@\ ++ set -x; $(RM) $$SONAME @@\ ++ $(RM) Concat(lib,libname.so) @@\ ++ $(RM) Concat(lib,libname.so.rev) ++ ++#endif /* SharedDepLibraryTarget */ ++ + #ifndef SharedDepModuleTarget + #define SharedDepModuleTarget(name,deps,solist) @@\ + AllTarget(name) @@\ diff --git a/x11/XFree86-4-libraries/files/patch-drilx11 b/x11/XFree86-4-libraries/files/patch-drilx11 new file mode 100644 index 000000000000..1635cedc07ea --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-drilx11 @@ -0,0 +1,99 @@ +--- lib/GL/mesa/src/drv/ffb/Imakefile.orig Sat Jun 8 16:02:28 2002 ++++ lib/GL/mesa/src/drv/ffb/Imakefile Sat Jun 8 16:02:29 2002 +@@ -38,7 +38,7 @@ + SRCS = $(FFBSRCS) + OBJS = $(FFBOBJS) $(DRIOBJS) $(DRMOBJS) $(COREMESAOBJS) + +-REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) ++REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) + + #include <Library.tmpl> + +--- lib/GL/mesa/src/drv/gamma/Imakefile.orig Sat Jun 8 16:01:51 2002 ++++ lib/GL/mesa/src/drv/gamma/Imakefile Sat Jun 8 16:01:53 2002 +@@ -46,7 +46,7 @@ + OBJS = $(LOWOBJS) $(DRIOBJS) $(DRMOBJS) $(COREMESAOBJS) \ + $(MESA_ASM_OBJS) $(GAMMAOBJS) $(HIOBJS) + +-REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) ++REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) + + #include <Library.tmpl> + +--- lib/GL/mesa/src/drv/i810/Imakefile.orig Sat Jun 8 16:00:38 2002 ++++ lib/GL/mesa/src/drv/i810/Imakefile Sat Jun 8 16:01:32 2002 +@@ -46,7 +46,7 @@ + OBJS = $(LOOBJS) $(DRIOBJS) $(DRMOBJS) $(COREMESAOBJS) \ + $(MESA_ASM_OBJS) $(COMMONOBJS) $(I810OBJS) $(HIOBJS) + +-REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) ++REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) + + #include <Library.tmpl> + +--- lib/GL/mesa/src/drv/i830/Imakefile.orig Sat Jun 8 16:00:43 2002 ++++ lib/GL/mesa/src/drv/i830/Imakefile Sat Jun 8 16:01:31 2002 +@@ -46,7 +46,7 @@ + OBJS = $(LOOBJS) $(DRIOBJS) $(DRMOBJS) $(COREMESAOBJS) \ + $(MESA_ASM_OBJS) $(COMMONOBJS) $(I830OBJS) $(HIOBJS) + +-REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) ++REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) + + #include <Library.tmpl> + +--- lib/GL/mesa/src/drv/mga/Imakefile.orig Sat Jun 8 16:00:31 2002 ++++ lib/GL/mesa/src/drv/mga/Imakefile Sat Jun 8 16:01:29 2002 +@@ -47,7 +47,7 @@ + OBJS = $(LOOBJS) $(DRIOBJS) $(DRMOBJS) $(COREMESAOBJS) \ + $(MESA_ASM_OBJS) $(COMMONOBJS) $(MGAOBJS) $(HIOBJS) + +-REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) ++REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) + + #include <Library.tmpl> + +--- lib/GL/mesa/src/drv/r128/Imakefile.orig Sat Jun 8 16:00:24 2002 ++++ lib/GL/mesa/src/drv/r128/Imakefile Sat Jun 8 16:01:34 2002 +@@ -47,7 +47,7 @@ + OBJS = $(LOOBJS) $(DRIOBJS) $(DRMOBJS) $(COREMESAOBJS) \ + $(MESA_ASM_OBJS) $(COMMONOBJS) $(R128OBJS) $(HIOBJS) + +-REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) ++REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) + + #include <Library.tmpl> + +--- lib/GL/mesa/src/drv/radeon/Imakefile.orig Sat Jun 8 15:59:52 2002 ++++ lib/GL/mesa/src/drv/radeon/Imakefile Sat Jun 8 15:59:54 2002 +@@ -47,7 +47,7 @@ + OBJS = $(LOOBJS) $(DRIOBJS) $(DRMOBJS) $(COREMESAOBJS) \ + $(MESA_ASM_OBJS) $(COMMONOBJS) $(RADEONOBJS) $(HIOBJS) + +-REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) ++REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) + + #include <Library.tmpl> + +--- lib/GL/mesa/src/drv/sis/Imakefile.orig Sat Jun 8 16:02:40 2002 ++++ lib/GL/mesa/src/drv/sis/Imakefile Sat Jun 8 16:02:45 2002 +@@ -53,7 +53,7 @@ + OBJS = $(DRIOBJS) $(DRMOBJS) $(COREMESAOBJS) \ + $(MESA_ASM_OBJS) $(SISOBJS) $(HIOBJS) + +-REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) ++REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) + + #include <Library.tmpl> + +--- lib/GL/mesa/src/drv/tdfx/Imakefile.orig Sat Jun 8 16:00:17 2002 ++++ lib/GL/mesa/src/drv/tdfx/Imakefile Sat Jun 8 16:01:12 2002 +@@ -47,7 +47,7 @@ + OBJS = $(LOOBJS) $(DRIOBJS) $(DRMOBJS) $(COREMESAOBJS) \ + $(MESA_ASM_OBJS) $(TDFXOBJS) $(HIOBJS) + +-REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) ++REQUIREDLIBS = MathLibrary $(LDPRELIB) $(GLXLIB) $(XONLYLIB) + + #include <Library.tmpl> + diff --git a/x11/XFree86-4-libraries/files/patch-xthreads b/x11/XFree86-4-libraries/files/patch-xthreads index ea2e2e15f62b..8ebc062fd872 100644 --- a/x11/XFree86-4-libraries/files/patch-xthreads +++ b/x11/XFree86-4-libraries/files/patch-xthreads @@ -1,25 +1,77 @@ ---- config/cf/FreeBSD.cf.orig Thu Jun 7 16:33:37 2001 -+++ config/cf/FreeBSD.cf Thu Jun 7 16:34:43 2001 -@@ -80,7 +80,6 @@ +--- config/cf/FreeBSD.cf.orig Wed Jul 10 16:27:39 2002 ++++ config/cf/FreeBSD.cf Wed Jul 10 17:14:39 2002 +@@ -43,11 +43,15 @@ + #define GccUsesGas YES + #define UseGas YES + #define GnuCpp YES ++#define HasPoll YES + #define HasNdbm YES + #define HasPutenv YES + #define HasSnprintf YES + #define HasBSD44Sockets YES + #define HasDlopen YES ++#if ((OSRelVersion >= 410002) && OSRelVersion < 500000) || (OSRelVersion >= 500012) ++#define HasSetProcTitle YES ++#endif + #ifndef HasLibCrypt + # define HasLibCrypt YES + #endif +@@ -78,10 +82,6 @@ + # define HasPosixThreads YES + # define ThreadedX YES /* - * math.h uses _REENTRANT and stdio.h uses _THREAD_SAFE, so define both. - */ +- * math.h uses _REENTRANT and stdio.h uses _THREAD_SAFE, so define both. +- */ -# define SystemMTDefines -D_REENTRANT -D_THREAD_SAFE - /* +-/* * FreeBSD has tread-safe api but no getpwnam_r yet. */ -@@ -91,8 +90,12 @@ + # define HasThreadSafeAPI YES +@@ -91,8 +91,15 @@ # else # define BuildThreadStubLibrary YES # define NeedUIThrStubs YES -# define ThreadsCompileFlags -pthread -# define ThreadsLibraries -pthread +# if (OSRelVersion >= 500016) -+# define ThreadsLibraries -lc_r ++# define ThreadsLibraries -lc_r +# else ++ /* ++ * math.h uses _REENTRANT and stdio.h uses _THREAD_SAFE, so define both. ++ */ +# define SystemMTDefines -D_REENTRANT -D_THREAD_SAFE -+# define ThreadsLibraries -pthread ++# define ThreadsLibraries -pthread +# endif # define SharedX11Reqs $(LDPRELIB) $(XTHRSTUBLIB) # define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) $(XTHRSTUBLIB) # endif +@@ -216,6 +223,20 @@ + #endif + #endif + ++/* Katmai (SSE) and 3DNow will be autodetected, so binutils is the only ++ * requirement for enabling this. By 4.2 they were all supported. ++ */ ++#ifdef i386Architecture && \ ++ (OSMajorVersion >= 5) || (OSMajorVersion == 4 && OSMinorVersion >= 2)) ++# define HasMMXSupport YES ++# define Has3DNowSupport YES ++# define HasKatmaiSupport YES ++#else ++# define HasMMXSupport NO ++# define Has3DNowSupport NO ++# define HasKatmaiSupport NO ++#endif ++ + /* + * This doesn't work the way it does on every other system. On FreeBSD it's + * only a "hint, not a demand", whatever that means. Note that this is not +@@ -540,7 +561,7 @@ + /* + * A hack to work around an optimization problem with gcc 2.95.2 + */ +-#if OSMajorVersion >= 4 ++#if OSMajorVersion == 4 + #define GccOptBug295 + #endif + diff --git a/x11/XFree86-4-libraries/files/patch-z01 b/x11/XFree86-4-libraries/files/patch-z01 index 1c36957378bd..9c0273ae6f82 100644 --- a/x11/XFree86-4-libraries/files/patch-z01 +++ b/x11/XFree86-4-libraries/files/patch-z01 @@ -1,6 +1,6 @@ ---- Makefile.orig Wed Mar 22 21:23:30 2000 -+++ Makefile Mon Mar 19 20:08:33 2001 -@@ -24,6 +24,12 @@ +--- Makefile.orig Wed Dec 19 13:37:26 2001 ++++ Makefile Wed Jul 10 17:37:14 2002 +@@ -27,6 +27,12 @@ MAKE_CMD = $(MAKE) $(MAKE_OPTS) FLAGS = $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)" CC="$(CC)" @@ -13,7 +13,7 @@ all: @$(MAKE_CMD) xmakefile-exists || $(MAKE) all-initial @$(MAKE_CMD) $@ -@@ -181,7 +187,7 @@ +@@ -198,7 +204,7 @@ install.ln: $(MAKE_CMD) $@ install.man: @@ -22,26 +22,31 @@ install: $(MAKE_CMD) $@ Makefiles: -@@ -192,3 +198,43 @@ +@@ -209,3 +215,48 @@ $(MAKE_CMD) $@ VerifyOS: $(MAKE_CMD) $@ + +##### -+FreeBSDPortsBuild: ++FreeBSDPortsConfigure: + @echo "" -+ @echo Building $(RELEASE) of the X Window System: $(PKGNAMEPREFIX)$(PORTNAME)-$(PORTVERSION) ++ @echo Configuring $(RELEASE) of the X Window System: $(PKGNAMEPREFIX)$(PORTNAME)-$(PORTVERSION) + @echo "" + @date + @echo "" -+ cd $(IMAKESRC) && $(MAKE) $(FLAGS) clean + $(MAKE) $(MFLAGS) Makefile.boot + $(MAKE_CMD) $(MFLAGS) VerifyOS + $(MAKE_CMD) $(MFLAGS) Makefiles -+ $(MAKE_CMD) $(MFLAGS) clean BOOTSTRAPSUBDIRS= + $(MAKE_CMD) $(MFLAGS) includes + $(MAKE_CMD) $(MFLAGS) depend -+ $(MAKE_CMD) $(MFLAGS) $(WORLDOPTS) $@ ++ ++FreeBSDPortsBuild: ++ @echo "" ++ @echo Building $(RELEASE) of the X Window System: $(PKGNAMEPREFIX)$(PORTNAME)-$(PORTVERSION) ++ @echo "" ++ @date ++ @echo "" ++ $(MAKE_CMD) $(MFLAGS) $@ + @echo "" + @date + @echo "" diff --git a/x11/XFree86-4-manuals/Makefile b/x11/XFree86-4-manuals/Makefile index 62cc02b45e22..53c9fae9ff8e 100644 --- a/x11/XFree86-4-manuals/Makefile +++ b/x11/XFree86-4-manuals/Makefile @@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTVERSION} PKGNAMEPREFIX= XFree86- DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz -MAINTAINER= taguchi@tohoku.iij.ad.jp +MAINTAINER= anholt@freebsd.org XFREE86_VERSION= 4 USE_IMAKE= YES |