diff options
author | asami <asami@FreeBSD.org> | 2000-11-03 11:08:12 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-11-03 11:08:12 +0000 |
commit | 05bc3b3dec21246620346b1ff9113fa2f6fb7173 (patch) | |
tree | 66b7f2ff9da9934b1aaad649efadd17912cde39f /x11-servers/XFree86-4-Server | |
parent | 7fdcdce7272668c1187786923895472077d55e74 (diff) | |
download | FreeBSD-ports-05bc3b3dec21246620346b1ff9113fa2f6fb7173.zip FreeBSD-ports-05bc3b3dec21246620346b1ff9113fa2f6fb7173.tar.gz |
Change wrapper dependency -- depend on wrapper from XFree86-4-Server. Don't
install server with setuid bit. Various fixed from XFree86-4 port.
Submitted by: taguchi@tohoku.iij.ad.jp (XFree86-4-* maintainer)
Diffstat (limited to 'x11-servers/XFree86-4-Server')
-rw-r--r-- | x11-servers/XFree86-4-Server/Makefile | 9 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/scripts/configure | 6 |
2 files changed, 11 insertions, 4 deletions
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile index 0901bb8..a03b6f6 100644 --- a/x11-servers/XFree86-4-Server/Makefile +++ b/x11-servers/XFree86-4-Server/Makefile @@ -7,6 +7,7 @@ PORTNAME= Server PORTVERSION= 4.0.1 +PORTREVISION= 1 CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE} MASTER_SITE_SUBDIR= ${PORTVERSION} @@ -15,6 +16,8 @@ DISTFILES= X401src-1.tgz MAINTAINER= taguchi@tohoku.iij.ad.jp +RUN_DEPENDS= Xwrapper:${PORTSDIR}/x11/wrapper + XFREE86_VERSION= 4 USE_IMAKE= YES DIST_SUBDIR= xc @@ -93,10 +96,14 @@ ExtendedInputDevices?= YES .if !defined(BATCH) && !defined(PACKAGE_BUILDING) pre-everything: - ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL +# ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL .endif do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure +post-install: + [ -x ${PREFIX}/bin/Xwrapper ] && ( cd ${PREFIX}/bin ; ${LN} -sf Xwrapper X ) + ${CHMOD} a-s ${PREFIX}/bin/XFree86 + .include <bsd.port.mk> diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure index a1d6022..baf9551 100644 --- a/x11-servers/XFree86-4-Server/scripts/configure +++ b/x11-servers/XFree86-4-Server/scripts/configure @@ -29,9 +29,9 @@ configure () { # It's good for FreeBSD ports/packages system. echo "#define NothingOutsideProjectRoot YES" >> $LOCALDEF - # I want to set this line. - # but the probrem is too deep. not yet done. - # echo "#define InstallXserverSetUID NO" >> $LOCALDEF + # Now, We can use this configuration. + # Thanks, Trevor Johnson <trevor@jpj.net> + echo "#define InstallXserverSetUID NO" >> $LOCALDEF # disable some configs: there are not used this ports for i in \ |