diff options
author | will <will@FreeBSD.org> | 2002-04-02 10:03:31 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2002-04-02 10:03:31 +0800 |
commit | f5642f3f1acb7657821f40190bd88be316f2cf47 (patch) | |
tree | 2f19ff8fc5cafc22463d788a7458ad3ff6449b2e /x11-servers/XFree86-4-Server/Makefile | |
parent | 01012671c381a5fd94bdaf794b644d4dcee5fb23 (diff) | |
download | freebsd-ports-gnome-f5642f3f1acb7657821f40190bd88be316f2cf47.tar.gz freebsd-ports-gnome-f5642f3f1acb7657821f40190bd88be316f2cf47.tar.zst freebsd-ports-gnome-f5642f3f1acb7657821f40190bd88be316f2cf47.zip |
Update to always compile DRI on i386 machines, including 3dfx support.
/sys no longer needs to be accessible, nor does Glide support (unlike with
4.1.0). Bump PORTREVISION to denote update.
PR: 36181
Submitted by: Eric Anholt <eanholt@gladstone.uoregon.edu>
Diffstat (limited to 'x11-servers/XFree86-4-Server/Makefile')
-rw-r--r-- | x11-servers/XFree86-4-Server/Makefile | 35 |
1 files changed, 13 insertions, 22 deletions
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile index 7b8ec43ddec4..dc20237ffe27 100644 --- a/x11-servers/XFree86-4-Server/Makefile +++ b/x11-servers/XFree86-4-Server/Makefile @@ -7,9 +7,7 @@ PORTNAME= Server PORTVERSION= 4.2.0 -.if defined(WITH_MATROX_GXX_DRIVER) -PORTREVISION= 1 -.endif +PORTREVISION= 2 CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE} \ ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \ @@ -34,7 +32,7 @@ SCRIPTS_ENV= OSVERSION=${OSVERSION} \ HasPam=${HasPam} \ ExtendedInputDevices=${ExtendedInputDevices} \ BuildXF86DRI=${BuildXF86DRI} \ - BuildXF86DRM=${BuildXF86DRM} \ + HasGlide3=${HasGlide3} \ HaveMatroxHal=${HaveMatroxHal} MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man WORLDOPTS= MAKE_ARGS= WORLDOPTS= @@ -88,23 +86,24 @@ HasXdmAuth?= YES HasSecureRPC?= DEFAULT HasPam?= DEFAULT ExtendedInputDevices?= DEFAULT -.if ${ARCH} == i386 && (exists(/sys) || exists(/usr/src/sys)) + +.if ${ARCH} == i386 BuildXF86DRI= YES -BuildXF86DRM= YES PLIST_SUB+= DRI="" -PLIST_SUB+= DRI_KMOD="" +MASTER_SITES+= http://gladstone.uoregon.edu/~eanholt/dri/:glide +DISTFILES+= freebsd-glide3headers.tar.gz:glide +HasGlide3= YES + +post-extract: + @(cd ${WRKSRC}/lib/GL/mesa/src/drv/tdfx/ ; \ + tar xfpz ${DISTDIR}/${DIST_SUBDIR}/freebsd-glide3headers.tar.gz) .else pre-fetch:: -.if ${ARCH} == i386 - @${ECHO_MSG} "DRI would not build: kernel source required in /sys." -.else @${ECHO_MSG} "DRI only built on i386" -.endif # i386 BuildXF86DRI= NO -BuildXF86DRM= NO +HasGlide3= NO PLIST_SUB+= DRI="@comment " -PLIST_SUB+= DRI_KMOD="@comment " -.endif # have /sys +.endif # i386 # Some things are not applicable if this machine is an alpha .if ${ARCH} == alpha @@ -197,16 +196,8 @@ PLIST_SUB+= MATROX="@comment " do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure -.if ${BuildXF86DRM} == "YES" -pre-install: - ${MKDIR} ${PREFIX}/lib/X11/kernel -.endif - post-build: @${RM} -f ${PKGMESSAGE} -.if ${BuildXF86DRM} == "YES" - @${CAT} ${.CURDIR}/pkg-message-drm > ${PKGMESSAGE} -.endif @${CAT} ${.CURDIR}/pkg-message >> ${PKGMESSAGE} post-install:: |