diff options
author | danfe <danfe@FreeBSD.org> | 2006-05-29 21:39:09 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2006-05-29 21:39:09 +0800 |
commit | ec40e0499fa3e01f63dfc85c945b9006ef801148 (patch) | |
tree | 29a6f113cb3064b90e38ca7bd76707340abbb07a /x11 | |
parent | 9eea9d01b66fa603d1424d59e735805d58698af6 (diff) | |
download | freebsd-ports-graphics-ec40e0499fa3e01f63dfc85c945b9006ef801148.tar.gz freebsd-ports-graphics-ec40e0499fa3e01f63dfc85c945b9006ef801148.tar.zst freebsd-ports-graphics-ec40e0499fa3e01f63dfc85c945b9006ef801148.zip |
- Remove unneeded PKGMESSAGE override (SUB_FILEs does it automatically)
- Add a dependency to the native xorg-libraries when the LINUX option is
enabled (it causes USE_XLIB to depend on Linux libraries instead of the
native ones). This should aid in updating process.
PR: ports/96883
Submitted by: alepulver
Diffstat (limited to 'x11')
-rw-r--r-- | x11/nvidia-driver/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index 18a5c30b7e4..b3bdf16efbd 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -23,7 +23,6 @@ USE_X_PREFIX= yes NO_PACKAGE= should be recompiled for a particular FreeBSD kernel INSTALLS_SHLIB= yes SUB_FILES+= pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message DOCSDIR= ${PREFIX}/share/doc/NVIDIA_GLX-1.0 OPTIONS= FREEBSD_AGP "Use FreeBSD AGP GART driver" off \ @@ -103,8 +102,10 @@ PLIST_SUB+= XSERVVERSION=${XSERVVERSION} XLIBVERSION=${XLIBVERSION} \ LINUXBASE=${LINUXBASE} NVVERSION=${NVVERSION} .if !defined(WITHOUT_LINUX) +# Add explicit X11 libraries dependency since USE_LINUX causes the port to +# RUN_DEPEND on the Linux libraries rather than LIB_DEPEND on native ones +LIB_DEPENDS+= X11.6:${X_LIBRARIES_PORT} USE_LINUX= yes -USE_XLIB= yes PLIST_SUB+= LINUX="" .else PLIST_SUB+= LINUX="@comment " |