Changeset View
Changeset View
Standalone View
Standalone View
x11/nvidia-driver/files/extra-patch-src_nvidia_Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/nvidia/Makefile.orig 2015-08-26 22:35:13 UTC | |||||
+++ src/nvidia/Makefile | |||||
@@ -26,6 +26,15 @@ NO_OBJ= true | |||||
stdarg.h: | |||||
@ln -s machine/stdarg.h stdarg.h | |||||
+SRCS+= opt_global.h | |||||
+.if ${MACHINE_ARCH} == "i386" && !defined(KERNBUILDDIR) | |||||
+PAE!= sed -n '/define NV_SUPPORT_PAE/p' nv-freebsd.h | |||||
+.if !empty(PAE) | |||||
+opt_global.h: | |||||
+ echo "#define PAE 1" > ${.TARGET} | |||||
+.endif | |||||
+.endif | |||||
+ | |||||
*.c: stdarg.h | |||||
beforeinstall: ${KMOD}.ko |