View | Details | Raw Unified | Return to bug 96883
Collapse All | Expand All

(-)x11/nvidia-driver/Makefile (-2 / +3 lines)
Lines 23-29 Link Here
23
NO_PACKAGE=	should be recompiled for a particular FreeBSD kernel
23
NO_PACKAGE=	should be recompiled for a particular FreeBSD kernel
24
INSTALLS_SHLIB=	yes
24
INSTALLS_SHLIB=	yes
25
SUB_FILES+=	pkg-message
25
SUB_FILES+=	pkg-message
26
PKGMESSAGE=	${WRKDIR}/pkg-message
27
DOCSDIR=	${PREFIX}/share/doc/NVIDIA_GLX-1.0
26
DOCSDIR=	${PREFIX}/share/doc/NVIDIA_GLX-1.0
28
27
29
OPTIONS=	FREEBSD_AGP	"Use FreeBSD AGP GART driver" off \
28
OPTIONS=	FREEBSD_AGP	"Use FreeBSD AGP GART driver" off \
Lines 103-110 Link Here
103
		LINUXBASE=${LINUXBASE} NVVERSION=${NVVERSION}
102
		LINUXBASE=${LINUXBASE} NVVERSION=${NVVERSION}
104
103
105
.if !defined(WITHOUT_LINUX)
104
.if !defined(WITHOUT_LINUX)
105
# Manually add xorg-libraries dependency since USE_LINUX causes the port to
106
# depend on the Linux xorg-libraries rather than the native ones.
107
LIB_DEPENDS+=	X11.6:${X_LIBRARIES_PORT}
106
USE_LINUX=	yes
108
USE_LINUX=	yes
107
USE_XLIB=	yes
108
PLIST_SUB+=	LINUX=""
109
PLIST_SUB+=	LINUX=""
109
.else
110
.else
110
PLIST_SUB+=	LINUX="@comment "
111
PLIST_SUB+=	LINUX="@comment "

Return to bug 96883