aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2005-05-24 15:42:43 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2005-05-24 15:42:43 +0000
commit447983b59c627af1e42f3c38a08eef8c879a2ef8 (patch)
treea4e8f98982dcd4ae47fbdc6b857955a167a66abd /x11/nvidia-driver
parentdc68d93d17371a5056b82fbeb17ddff5dcc1e60f (diff)
downloadports-447983b59c627af1e42f3c38a08eef8c879a2ef8.tar.gz
ports-447983b59c627af1e42f3c38a08eef8c879a2ef8.zip
Notes
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 8089efc9d830..f2576c875f19 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -24,6 +24,11 @@ USE_X_PREFIX= yes
NO_PACKAGE= should be recompiled for a particular FreeBSD kernel
INSTALLS_SHLIB= yes
+OPTIONS= FREEBSD_AGP "Use FreeBSD AGP GART driver" off \
+ VM86_INT10CALL "Use VM86 interface for video BIOS calls" off \
+ ACPI "Enable support for ACPI Power Management" off \
+ LINUX "Build with support for Linux compatibility" on
+
.include <bsd.port.pre.mk>
# Newer releases from NVidia do not play nicely with FreeBSD prior to 5.3.
@@ -34,7 +39,7 @@ INSTALLS_SHLIB= yes
.if ${OSVERSION} < 503000
NVVERSION= 6113
PORTREVISION= 4
-EXTRA_PATCHES+= 6113-patch-src::nvidia_pci.c
+EXTRA_PATCHES+= ${FILESDIR}/6113-patch-src::nvidia_pci.c
PLIST_SUB+= DIFFS=""
.else
NVVERSION= 7174
@@ -67,20 +72,6 @@ PLIST_SUB+= FREEBSD5="@comment " FREEBSD4=""
PLIST_SUB+= FREEBSD5="" FREEBSD4="@comment "
.endif
-pre-everything::
-.if !defined(WITH_FREEBSD_AGP)
- @${ECHO_MSG} "Define WITH_FREEBSD_AGP to use FreeBSD AGP GART driver"
-.endif
-.if !defined(WITH_VM86_INT10CALL)
- @${ECHO_MSG} "Define WITH_VM86_INT10CALL to use VM86 interface for INT10 calls (video BIOS)"
-.endif
-.if !defined(WITH_ACPI)
- @${ECHO_MSG} "Define WITH_ACPI to enable support for ACPI Power Management (5.x/6.x only!)"
-.endif
-.if !defined(WITHOUT_LINUX)
- @${ECHO_MSG} "Define WITHOUT_LINUX to build without support for Linux compatibility"
-.endif
-
post-patch: .SILENT
# We should support -CURRENT: kill the check
.if ${NVVERSION} == 7174