forked from Lainports/freebsd-ports
the nvidia-driver. Install the libraries in port specific directories. Use pkg-install and pkg-deinstall scripts to update the hardlinks to the default locations of these files. While here clean up some @dirrmtry lines in xorg-server plist for directories that aren.t created by xorg-server. Motivator: pkgng Inspiration: irc, freebsd-x11@ mailinglist discussion (sorry can't find it anymore to give credit the people) Reviewed by: danfe@ (for nvidia parts), bapt@ Approved by: danfe@ (for nvidia parts) With hat: x11@
15 lines
600 B
Text
15 lines
600 B
Text
--- src/mesa/Makefile.orig 2012-04-22 18:34:50.000000000 +0200
|
|
+++ src/mesa/Makefile 2012-04-22 18:35:00.000000000 +0200
|
|
@@ -183,10 +183,10 @@
|
|
$(DESTDIR)$(INSTALL_INC_DIR)/GL
|
|
|
|
install-libgl: default gl.pc install-headers
|
|
- $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)
|
|
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/.libGL
|
|
$(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
|
|
$(MINSTALL) $(TOP)/$(LIB_DIR)/$(GL_LIB_GLOB) \
|
|
- $(DESTDIR)$(INSTALL_LIB_DIR)
|
|
+ $(DESTDIR)$(INSTALL_LIB_DIR)/.libGL
|
|
$(INSTALL) -m 644 gl.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
|
|
|
|
install-osmesa: default osmesa.pc
|