Lines 7-17
Link Here
|
7 |
# Starting with version 1.0-7667, NVidia has dropped support for numerous |
7 |
# Starting with version 1.0-7667, NVidia has dropped support for numerous |
8 |
# "legacy" GPUs. Consult NVidia README (the Appendix) to find out whether |
8 |
# "legacy" GPUs. Consult NVidia README (the Appendix) to find out whether |
9 |
# you need to use legacy driver version and install one of corresponding |
9 |
# you need to use legacy driver version and install one of corresponding |
10 |
# slave ports instead (`x11/nvidia-driver-173', `x11/nvidia-driver-304', |
10 |
# slave ports instead (`x11/nvidia-driver-304', or `x11/nvidia-driver-340'). |
11 |
# or `x11/nvidia-driver-340'). |
|
|
12 |
|
11 |
|
13 |
PORTNAME= nvidia-driver |
12 |
PORTNAME= nvidia-driver |
14 |
DISTVERSION?= 346.96 |
13 |
DISTVERSION?= 355.11 |
15 |
# Always try to set PORTREVISION as it can be overridden by the slave ports |
14 |
# Always try to set PORTREVISION as it can be overridden by the slave ports |
16 |
PORTREVISION?= 0 |
15 |
PORTREVISION?= 0 |
17 |
CATEGORIES= x11 |
16 |
CATEGORIES= x11 |
Lines 57-101
Link Here
|
57 |
. endif |
56 |
. endif |
58 |
.endif |
57 |
.endif |
59 |
|
58 |
|
60 |
.if ${NVVERSION} >= 195.022 |
|
|
61 |
MASTER_SITE_SUBDIR= XFree86/FreeBSD-${ARCH_SUFX}/${DISTVERSION} |
59 |
MASTER_SITE_SUBDIR= XFree86/FreeBSD-${ARCH_SUFX}/${DISTVERSION} |
62 |
ONLY_FOR_ARCHS= i386 amd64 |
60 |
ONLY_FOR_ARCHS= i386 amd64 |
63 |
.else |
|
|
64 |
MASTER_SITE_SUBDIR= freebsd/${DISTVERSION} |
65 |
ONLY_FOR_ARCHS= i386 |
66 |
.endif |
67 |
|
61 |
|
68 |
.if ${NVVERSION} <= 190.042 |
62 |
.if ${NVVERSION} < 355.011 |
69 |
EXTRA_PATCHES= ${FILESDIR}/legacy-patch-mk-nvidia.lib.mk |
|
|
70 |
.else |
71 |
EXTRA_PATCHES= ${FILESDIR}/extra-patch-mk-nvidia.lib.mk |
72 |
.endif |
73 |
|
74 |
.if ${NVVERSION} >= 304.088 |
75 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-Makefile \ |
63 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-Makefile \ |
76 |
${FILESDIR}/extra-patch-src-nv-freebsd.h \ |
64 |
${FILESDIR}/extra-patch-src-nv-freebsd.h \ |
77 |
${FILESDIR}/extra-patch-src-nv-misc.h |
65 |
${FILESDIR}/extra-patch-src-nv-misc.h |
78 |
.endif |
|
|
79 |
|
80 |
.if ${NVVERSION} >= 304.125 # 331.020 |
81 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-x11-driver-Makefile |
82 |
.else |
66 |
.else |
83 |
EXTRA_PATCHES+= ${FILESDIR}/legacy-patch-x11-driver-Makefile |
67 |
NVSRC=nvidia |
|
|
68 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_nvidia_Makefile \ |
69 |
${FILESDIR}/extra-patch-src_nvidia_nv-freebsd.h \ |
70 |
${FILESDIR}/extra-patch-src_nvidia_nv-misc.h |
84 |
.endif |
71 |
.endif |
85 |
|
72 |
|
86 |
# Fix recent arbitrary memory access vulnerability in legacy drivers |
73 |
OPTIONS_DEFINE= ACPI_PM LINUX DOCS WBINVD |
87 |
.if ${NVVERSION} <= 190.053 |
|
|
88 |
. if ${NVVERSION} != 173.01435 |
89 |
EXTRA_PATCHES+= ${FILESDIR}/security-patch-CVE-2012-0946 |
90 |
. endif |
91 |
EXTRA_PATCHES+= ${FILESDIR}/security-patch-CVE-2012-4225 |
92 |
.endif |
93 |
|
94 |
OPTIONS_DEFINE= ACPI_PM LINUX DOCS |
95 |
OPTIONS_DEFAULT= LINUX |
74 |
OPTIONS_DEFAULT= LINUX |
96 |
|
75 |
|
97 |
ACPI_PM_DESC= ACPI Power Management support |
76 |
ACPI_PM_DESC= ACPI Power Management support |
98 |
LINUX_DESC= Linux compatibility support |
77 |
LINUX_DESC= Linux compatibility support |
|
|
78 |
WBINVD_DESC= Flush CPU caches directly with WBINVD |
99 |
|
79 |
|
100 |
.if ${NVVERSION} < 310.014 |
80 |
.if ${NVVERSION} < 310.014 |
101 |
OPTIONS_DEFINE+= FREEBSD_AGP |
81 |
OPTIONS_DEFINE+= FREEBSD_AGP |
Lines 102-112
Link Here
|
102 |
FREEBSD_AGP_DESC= Use FreeBSD AGP GART driver |
82 |
FREEBSD_AGP_DESC= Use FreeBSD AGP GART driver |
103 |
.endif |
83 |
.endif |
104 |
|
84 |
|
105 |
.if ${NVVERSION} >= 195.022 |
|
|
106 |
OPTIONS_DEFINE+= WBINVD |
107 |
WBINVD_DESC= Flush CPU caches directly with WBINVD |
108 |
.endif |
109 |
|
110 |
.if ${NVVERSION} >= 304.088 |
85 |
.if ${NVVERSION} >= 304.088 |
111 |
OPTIONS_DEFINE_i386= PAE |
86 |
OPTIONS_DEFINE_i386= PAE |
112 |
PAE_DESC= Physical Address Extensions support |
87 |
PAE_DESC= Physical Address Extensions support |
Lines 127-239
Link Here
|
127 |
MAKE_ENV+= WITHOUT_LINUX=yes |
102 |
MAKE_ENV+= WITHOUT_LINUX=yes |
128 |
.endif |
103 |
.endif |
129 |
|
104 |
|
130 |
.if ${NVVERSION} < 195.022 |
|
|
131 |
# ABI version is hardcoded inside the binary, so specify it explicitly here |
132 |
LIB_DEPENDS= libm.so.3:${PORTSDIR}/misc/compat5x |
133 |
.endif |
134 |
|
135 |
post-patch: .SILENT |
105 |
post-patch: .SILENT |
136 |
# We should support -CURRENT: kill the check |
106 |
# We should support -CURRENT: kill the check |
137 |
${REINPLACE_CMD} -e '24,26d' ${WRKSRC}/src/nv-freebsd.h |
107 |
${REINPLACE_CMD} -e '24,26d' ${WRKSRC}/src/${NVSRC}/nv-freebsd.h |
138 |
# Adjust legacy drivers for updated d_mmap() since FreeBSD src SVN r201223 |
|
|
139 |
.if ${NVVERSION} < 195.022 |
140 |
${REINPLACE_CMD} -e 's/vm_offset_t offset/vm_ooffset_t offset/ ; \ |
141 |
s/vm_offset_t \*address/vm_paddr_t *address/ ; \ |
142 |
s/int nprot/&, vm_memattr_t *memattr/' \ |
143 |
${WRKSRC}/src/nvidia_dev.c |
144 |
.endif |
145 |
# In the legacy drivers: remove page queue locking and add page locking |
146 |
# around vm_page_(un)wire() after FreeBSD src SVN r207410, r207617, and |
147 |
# r207644; also remove page queue locking around vm_page_wakeup() after |
148 |
# FreeBSD src SVN r163622 |
149 |
.if ${NVVERSION} < 304.064 |
150 |
${REINPLACE_CMD} -E '/vm_page_(un)?lock_queues\(\);/d ; \ |
151 |
s/(vm_page_(un)?wire\()([^,]+)(, 0)?(\);)/vm_page_lock(\3); & vm_page_unlock(\3);/' \ |
152 |
${WRKSRC}/src/nvidia_subr.c |
153 |
.endif |
154 |
# Catch up legacy drivers with FreeBSD src SVN r225617 |
155 |
.if ${NVVERSION} < 195.022 |
156 |
${REINPLACE_CMD} -e '/return/s/ioctl/sys_&/' \ |
157 |
${WRKSRC}/src/nvidia_linux.c |
158 |
.endif |
159 |
# Adjust Linux headers #include's after FreeBSD src SVN r246085 |
108 |
# Adjust Linux headers #include's after FreeBSD src SVN r246085 |
160 |
.if ${OSVERSION} > 1000027 && ${NVVERSION} >= 96.04323 |
109 |
.if ${OSVERSION} > 1000027 && ${NVVERSION} >= 96.04323 |
161 |
${REINPLACE_CMD} -E '/#include "machine\/\.\.\/linux(32)?\/linux.h"/ \ |
110 |
${REINPLACE_CMD} -E '/#include "machine\/\.\.\/linux(32)?\/linux.h"/ \ |
162 |
{ x ; s/.*/#include "machine\/..\/..\/compat\/linux\/linux_ioctl.h"/ ; H ; x ; }' \ |
111 |
{ x ; s/.*/#include "machine\/..\/..\/compat\/linux\/linux_ioctl.h"/ ; H ; x ; }' \ |
163 |
${WRKSRC}/src/nvidia_linux.c |
112 |
${WRKSRC}/src/${NVSRC}/nvidia_linux.c |
164 |
.endif |
113 |
.endif |
165 |
# Adjust vm_object locking after FreeBSD src SVN r248084 |
114 |
# Adjust vm_object locking after FreeBSD src SVN r248084 |
166 |
.if ${OSVERSION} > 1000029 |
115 |
.if ${OSVERSION} > 1000029 |
167 |
${REINPLACE_CMD} -e '/#include <vm\/vm_object.h>/ \ |
116 |
${REINPLACE_CMD} -e '/#include <vm\/vm_object.h>/ \ |
168 |
{ x ; s/.*/#include <sys\/rwlock.h>/ ; G ; }' \ |
117 |
{ x ; s/.*/#include <sys\/rwlock.h>/ ; G ; }' \ |
169 |
${WRKSRC}/src/nv-freebsd.h |
118 |
${WRKSRC}/src/${NVSRC}/nv-freebsd.h |
170 |
${REINPLACE_CMD} -E 's/(VM_OBJECT_)(UN)?(LOCK)/\1W\2\3/' \ |
119 |
${REINPLACE_CMD} -E 's/(VM_OBJECT_)(UN)?(LOCK)/\1W\2\3/' \ |
171 |
${WRKSRC}/src/nvidia_subr.c |
120 |
${WRKSRC}/src/${NVSRC}/nvidia_subr.c |
172 |
.endif |
121 |
.endif |
173 |
# Adjust kmem(9) calls after FreeBSD src SVN r254025 |
122 |
# Adjust kmem(9) calls after FreeBSD src SVN r254025 |
174 |
.if ${OSVERSION} > 1000040 && ${NVVERSION} < 331.067 |
123 |
.if ${OSVERSION} > 1000040 && ${NVVERSION} < 331.067 |
175 |
${REINPLACE_CMD} -e '/kmem_/s/kernel_map/kernel_arena/' \ |
124 |
${REINPLACE_CMD} -e '/kmem_/s/kernel_map/kernel_arena/' \ |
176 |
${WRKSRC}/src/nvidia_subr.c |
125 |
${WRKSRC}/src/${NVSRC}/nvidia_subr.c |
177 |
.endif |
126 |
.endif |
178 |
# Argument count of vm_map_find() changed in FreeBSD src SVN r255426 |
|
|
179 |
.if ${OSVERSION} > 1000054 && ${NVVERSION} < 304.123 # < 331.067 |
180 |
${REINPLACE_CMD} -e 's/virtual_address, size,/& 0,/' \ |
181 |
${WRKSRC}/src/nvidia_subr.c |
182 |
.endif |
183 |
# Fix CTLFLAG_* values for SYSCTL_ADD_PROC() after FreeBSD src SVN r273377 |
127 |
# Fix CTLFLAG_* values for SYSCTL_ADD_PROC() after FreeBSD src SVN r273377 |
184 |
.if ${OSVERSION} > 1100039 || ${OSVERSION} > 1001501 && ${OSVERSION} < 1100000 |
128 |
.if ${OSVERSION} > 1100039 || ${OSVERSION} > 1001501 && ${OSVERSION} < 1100000 |
185 |
${REINPLACE_CMD} -e '/SYSCTL_ADD_PROC/,/;/ \ |
129 |
${REINPLACE_CMD} -e '/SYSCTL_ADD_PROC/,/;/ \ |
186 |
s/^[[:blank:]]*CTLFLAG_RD/CTLTYPE_STRING |&/' \ |
130 |
s/^[[:blank:]]*CTLFLAG_RD/CTLTYPE_STRING |&/' \ |
187 |
${WRKSRC}/src/nvidia_sysctl.c |
131 |
${WRKSRC}/src/${NVSRC}/nvidia_sysctl.c |
188 |
.endif |
132 |
.endif |
189 |
# Replace d_thread_t (compat shim to support FreeBSD 4) with `struct thread' |
133 |
# Replace d_thread_t (compat shim to support FreeBSD 4) with `struct thread' |
190 |
${REINPLACE_CMD} -e 's/d_thread_t/struct thread/' \ |
134 |
${REINPLACE_CMD} -e 's/d_thread_t/struct thread/' \ |
191 |
${WRKSRC}/src/nvidia_ctl.c ${WRKSRC}/src/nvidia_dev.c \ |
135 |
${WRKSRC}/src/${NVSRC}/nvidia_ctl.c ${WRKSRC}/src/${NVSRC}/nvidia_dev.c \ |
192 |
${WRKSRC}/src/nvidia_linux.c |
136 |
${WRKSRC}/src/${NVSRC}/nvidia_linux.c |
193 |
# Fix stack buffer overflow in nvidia_sysctl_bus_type() |
|
|
194 |
${REINPLACE_CMD} -e 's/8 bus_type\[4\]/8 bus_type[8]/' \ |
195 |
${WRKSRC}/src/nvidia_sysctl.c |
196 |
# Unbreak the build of 173.14.xx legacy series on recent -CURRENT |
197 |
.if ${NVVERSION} < 195.022 && ${NVVERSION} >= 169.004 |
198 |
${REINPLACE_CMD} -E 's/os_(alloc|free)_contig_pages/NV_API_CALL &/' \ |
199 |
${WRKSRC}/src/nv-freebsd.h |
200 |
.endif |
201 |
# Process OPTIONS |
137 |
# Process OPTIONS |
202 |
.if ${PORT_OPTIONS:MFREEBSD_AGP} |
138 |
.if ${PORT_OPTIONS:MFREEBSD_AGP} |
203 |
${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_OS_AGP)/define \1/' \ |
139 |
${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_OS_AGP)/define \1/' \ |
204 |
${WRKSRC}/src/nv-freebsd.h |
140 |
${WRKSRC}/src/${NVSRC}/nv-freebsd.h |
205 |
.endif |
141 |
.endif |
206 |
.if ${PORT_OPTIONS:MACPI_PM} |
142 |
.if ${PORT_OPTIONS:MACPI_PM} |
207 |
${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_ACPI_PM)/define \1/' \ |
143 |
${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_ACPI_PM)/define \1/' \ |
208 |
${WRKSRC}/src/nv-freebsd.h |
144 |
${WRKSRC}/src/${NVSRC}/nv-freebsd.h |
209 |
.endif |
145 |
.endif |
210 |
.if ! ${PORT_OPTIONS:MLINUX} |
146 |
.if ! ${PORT_OPTIONS:MLINUX} |
211 |
${REINPLACE_CMD} -E 's/define (NV_SUPPORT_LINUX_COMPAT)/undef \1/' \ |
147 |
${REINPLACE_CMD} -E 's/define (NV_SUPPORT_LINUX_COMPAT)/undef \1/' \ |
212 |
${WRKSRC}/src/nv-freebsd.h |
148 |
${WRKSRC}/src/${NVSRC}/nv-freebsd.h |
213 |
.endif |
149 |
.endif |
214 |
.if ${PORT_OPTIONS:MPAE} |
150 |
.if ${PORT_OPTIONS:MPAE} |
215 |
${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_PAE)/define \1/' \ |
151 |
${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_PAE)/define \1/' \ |
216 |
${WRKSRC}/src/nv-freebsd.h |
152 |
${WRKSRC}/src/${NVSRC}/nv-freebsd.h |
217 |
.endif |
153 |
.endif |
218 |
.if ${PORT_OPTIONS:MWBINVD} |
154 |
.if ${PORT_OPTIONS:MWBINVD} |
219 |
${REINPLACE_CMD} -E 's/undef (NV_USE_WBINVD)/define \1/' \ |
155 |
${REINPLACE_CMD} -E 's/undef (NV_USE_WBINVD)/define \1/' \ |
220 |
${WRKSRC}/src/nv-freebsd.h |
156 |
${WRKSRC}/src/${NVSRC}/nv-freebsd.h |
221 |
.endif |
157 |
.endif |
222 |
${REINPLACE_CMD} -e 's/exists(\/.*/& \&\& !defined(WITHOUT_LINUX)/' \ |
158 |
${REINPLACE_CMD} -e 's/exists(\/.*/& \&\& !defined(WITHOUT_LINUX)/' \ |
223 |
${WRKSRC}/lib/Makefile |
159 |
${WRKSRC}/lib/Makefile |
224 |
# Do not install VDPAU libraries which are provided by `multimedia/libvdpau' |
160 |
# Do not install VDPAU libraries which are provided by `multimedia/libvdpau' |
225 |
# port for a while now |
161 |
# port for a while now |
226 |
.if ${NVVERSION} >= 180.029 |
|
|
227 |
${REINPLACE_CMD} -e '/libvdpau[[:blank:]_][^n]/d ; \ |
162 |
${REINPLACE_CMD} -e '/libvdpau[[:blank:]_][^n]/d ; \ |
228 |
s/name libvdpau/&_nvidia/' ${WRKSRC}/lib/Makefile |
163 |
s/name libvdpau/&_nvidia/' ${WRKSRC}/lib/Makefile |
229 |
.endif |
|
|
230 |
# Do not build any binaries (native nvidia-settings and nvidia-xconfig are |
164 |
# Do not build any binaries (native nvidia-settings and nvidia-xconfig are |
231 |
# provided by corresponding ports) and manual pages |
165 |
# provided by corresponding ports) and manual pages |
232 |
.if ${NVVERSION} < 97.046 || ${NVVERSION} >= 195.022 |
|
|
233 |
${REINPLACE_CMD} -E 's/(extension).*/\1/' ${WRKSRC}/x11/Makefile |
234 |
.else |
235 |
${REINPLACE_CMD} -E 's/(lib).*/\1/' ${WRKSRC}/x11/Makefile |
236 |
.endif |
237 |
${REINPLACE_CMD} -e '/bin/d ; /man/d' ${WRKSRC}/x11/Makefile |
166 |
${REINPLACE_CMD} -e '/bin/d ; /man/d' ${WRKSRC}/x11/Makefile |
238 |
# Also do not install libnvidia-gtk* libraries which are for nvidia-settings |
167 |
# Also do not install libnvidia-gtk* libraries which are for nvidia-settings |
239 |
.if ${NVVERSION} >= 346.016 |
168 |
.if ${NVVERSION} >= 346.016 |
Lines 259-265
Link Here
|
259 |
# and "smart" installation of conflicting files heuristics) |
188 |
# and "smart" installation of conflicting files heuristics) |
260 |
${REINPLACE_CMD} -e 's/afterinstall/&_dontexecute/' ${WRKSRC}/Makefile |
189 |
${REINPLACE_CMD} -e 's/afterinstall/&_dontexecute/' ${WRKSRC}/Makefile |
261 |
${REINPLACE_CMD} -e 's/beforeinstall/&_dontexecute/' \ |
190 |
${REINPLACE_CMD} -e 's/beforeinstall/&_dontexecute/' \ |
262 |
${WRKSRC}/lib/Makefile ${WRKSRC}/src/Makefile |
191 |
${WRKSRC}/lib/Makefile ${WRKSRC}/src/${NVSRC}/Makefile |
263 |
# /usr/share/nvidia path is hardcoded in libGL and nvidia-settings, but we |
192 |
# /usr/share/nvidia path is hardcoded in libGL and nvidia-settings, but we |
264 |
# won't adhere to this stupidity and install nvidia-application-profiles-* |
193 |
# won't adhere to this stupidity and install nvidia-application-profiles-* |
265 |
# files as part of documentation |
194 |
# files as part of documentation |
Lines 276-299
Link Here
|
276 |
${INSTALL_SCRIPT} ${WRKSRC}/obj/nvidia-bug-report.sh \ |
205 |
${INSTALL_SCRIPT} ${WRKSRC}/obj/nvidia-bug-report.sh \ |
277 |
${STAGEDIR}${PREFIX}/bin |
206 |
${STAGEDIR}${PREFIX}/bin |
278 |
# pkg-plist is already overbloated, so use these hacks instead of PLIST_SUB's |
207 |
# pkg-plist is already overbloated, so use these hacks instead of PLIST_SUB's |
279 |
.if ${NVVERSION} < 81.074 |
208 |
.if ${NVVERSION} >= 304.128 && ${NVVERSION} < 310.019 |
280 |
${REINPLACE_CMD} -e '/libnvidia-cfg/d' ${TMPPLIST} |
|
|
281 |
.endif |
282 |
.if ${NVVERSION} < 97.046 || ${NVVERSION} >= 195.022 |
283 |
${REINPLACE_CMD} -e '/wfb/d' ${TMPPLIST} |
284 |
.endif |
285 |
.if ${NVVERSION} < 180.029 |
286 |
${REINPLACE_CMD} -e '/vdpau/d' ${TMPPLIST} |
287 |
.elif ${NVVERSION} >= 304.128 && ${NVVERSION} < 310.019 |
288 |
${REINPLACE_CMD} -E '/libvdpau(_trace)?\.so/d' ${TMPPLIST} |
209 |
${REINPLACE_CMD} -E '/libvdpau(_trace)?\.so/d' ${TMPPLIST} |
289 |
.endif |
210 |
.endif |
290 |
.if ${NVVERSION} < 185.01829 |
|
|
291 |
${REINPLACE_CMD} -e '/libcuda/d' ${TMPPLIST} |
292 |
.endif |
293 |
.if ${NVVERSION} >= 256.053 |
294 |
${REINPLACE_CMD} -E 's/libGLcore/libnvidia-glcore/ ; \ |
295 |
/usr.*(glcore|tls).*so\.1$$/d' ${TMPPLIST} |
296 |
.endif |
297 |
.if ${NVVERSION} >= 310.019 |
211 |
.if ${NVVERSION} >= 310.019 |
298 |
${REINPLACE_CMD} -e '/libXvMCNVIDIA/d' ${TMPPLIST} |
212 |
${REINPLACE_CMD} -e '/libXvMCNVIDIA/d' ${TMPPLIST} |
299 |
.else # some applications need this symlink (see PR ports/72877) |
213 |
.else # some applications need this symlink (see PR ports/72877) |
Lines 307-312
Link Here
|
307 |
.if ${NVVERSION} >= 195.022 |
221 |
.if ${NVVERSION} >= 195.022 |
308 |
${REINPLACE_CMD} -e '/does not support PAE/,+1d' ${PKGMESSAGE} |
222 |
${REINPLACE_CMD} -e '/does not support PAE/,+1d' ${PKGMESSAGE} |
309 |
.endif |
223 |
.endif |
|
|
224 |
.if ${NVVERSION} < 352.055 |
225 |
${REINPLACE_CMD} -e '/nvidia-debugdump/d ; /nvidia-smi/d ; \ |
226 |
/libnvidia-ml.so/d' ${TMPPLIST} |
227 |
.endif |
228 |
.if ${NVVERSION} < 355.011 |
229 |
${REINPLACE_CMD} -e ' /libEGL_nvidia.so/d ; /libGLdispatch.so/d ; \ |
230 |
/libOpenGL.so/d' ${TMPPLIST} |
231 |
.else |
232 |
${REINPLACE_CMD} -e 's/libEGL.so.${PORTVERSION}/libEGL.so/' ${TMPPLIST} |
233 |
.endif |
310 |
|
234 |
|
311 |
# Target below can be used instead of standard `makesum' to correctly |
235 |
# Target below can be used instead of standard `makesum' to correctly |
312 |
# update distinfo (i.e., keeping other driver version entries intact) |
236 |
# update distinfo (i.e., keeping other driver version entries intact) |