Lines 34-40
Link Here
|
34 |
HasPam=${HasPam} \ |
34 |
HasPam=${HasPam} \ |
35 |
ExtendedInputDevices=${ExtendedInputDevices} \ |
35 |
ExtendedInputDevices=${ExtendedInputDevices} \ |
36 |
BuildXF86DRI=${BuildXF86DRI} \ |
36 |
BuildXF86DRI=${BuildXF86DRI} \ |
37 |
BuildXF86DRM=${BuildXF86DRM} \ |
37 |
HasGlide3=${HasGlide3} \ |
38 |
HaveMatroxHal=${HaveMatroxHal} |
38 |
HaveMatroxHal=${HaveMatroxHal} |
39 |
MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man WORLDOPTS= |
39 |
MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man WORLDOPTS= |
40 |
MAKE_ARGS= WORLDOPTS= |
40 |
MAKE_ARGS= WORLDOPTS= |
Lines 88-110
Link Here
|
88 |
HasSecureRPC?= DEFAULT |
88 |
HasSecureRPC?= DEFAULT |
89 |
HasPam?= DEFAULT |
89 |
HasPam?= DEFAULT |
90 |
ExtendedInputDevices?= DEFAULT |
90 |
ExtendedInputDevices?= DEFAULT |
91 |
.if ${ARCH} == i386 && (exists(/sys) || exists(/usr/src/sys)) |
91 |
|
|
|
92 |
.if ${ARCH} == i386 |
92 |
BuildXF86DRI= YES |
93 |
BuildXF86DRI= YES |
93 |
BuildXF86DRM= YES |
|
|
94 |
PLIST_SUB+= DRI="" |
94 |
PLIST_SUB+= DRI="" |
95 |
PLIST_SUB+= DRI_KMOD="" |
95 |
MASTER_SITES+= http://gladstone.uoregon.edu/~eanholt/dri/:glide |
|
|
96 |
DISTFILES+= freebsd-glide3headers.tar.gz:glide |
97 |
HasGlide3= YES |
98 |
|
99 |
post-extract: |
100 |
@(cd ${WRKSRC}/lib/GL/mesa/src/drv/tdfx/ ; \ |
101 |
tar xfpz ${DISTDIR}/${DIST_SUBDIR}/freebsd-glide3headers.tar.gz) |
96 |
.else |
102 |
.else |
97 |
pre-fetch:: |
103 |
pre-fetch:: |
98 |
.if ${ARCH} == i386 |
|
|
99 |
@${ECHO_MSG} "DRI would not build: kernel source required in /sys." |
100 |
.else |
101 |
@${ECHO_MSG} "DRI only built on i386" |
104 |
@${ECHO_MSG} "DRI only built on i386" |
102 |
.endif # i386 |
|
|
103 |
BuildXF86DRI= NO |
105 |
BuildXF86DRI= NO |
104 |
BuildXF86DRM= NO |
106 |
HasGlide3= NO |
105 |
PLIST_SUB+= DRI="@comment " |
107 |
PLIST_SUB+= DRI="@comment " |
106 |
PLIST_SUB+= DRI_KMOD="@comment " |
108 |
.endif # i386 |
107 |
.endif # have /sys |
|
|
108 |
|
109 |
|
109 |
# Some things are not applicable if this machine is an alpha |
110 |
# Some things are not applicable if this machine is an alpha |
110 |
.if ${ARCH} == alpha |
111 |
.if ${ARCH} == alpha |
Lines 197-212
Link Here
|
197 |
do-configure: |
198 |
do-configure: |
198 |
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure |
199 |
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure |
199 |
|
200 |
|
200 |
.if ${BuildXF86DRM} == "YES" |
|
|
201 |
pre-install: |
202 |
${MKDIR} ${PREFIX}/lib/X11/kernel |
203 |
.endif |
204 |
|
205 |
post-build: |
201 |
post-build: |
206 |
@${RM} -f ${PKGMESSAGE} |
202 |
@${RM} -f ${PKGMESSAGE} |
207 |
.if ${BuildXF86DRM} == "YES" |
|
|
208 |
@${CAT} ${.CURDIR}/pkg-message-drm > ${PKGMESSAGE} |
209 |
.endif |
210 |
@${CAT} ${.CURDIR}/pkg-message >> ${PKGMESSAGE} |
203 |
@${CAT} ${.CURDIR}/pkg-message >> ${PKGMESSAGE} |
211 |
|
204 |
|
212 |
post-install:: |
205 |
post-install:: |