freebsd-ports/graphics/libosmesa/files/patch-src-mesa_Makefile
Pietro Cerutti 81eb9e3d0f - Update to 7.11
Release notes: http://mesa3d.org/relnotes-7.11.html
- Unbreak on 9.x amd64
2011-09-14 07:33:15 +00:00

15 lines
616 B
Text

--- src/mesa/Makefile.orig 2011-08-04 10:47:51.000000000 +0200
+++ src/mesa/Makefile 2011-08-04 10:48:17.000000000 +0200
@@ -191,10 +191,10 @@
install-osmesa: default osmesa.pc
$(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)
- $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
+ $(INSTALL) -d $(DESTDIR)$(prefix)/libdata/pkgconfig
$(MINSTALL) $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_GLOB) \
$(DESTDIR)$(INSTALL_LIB_DIR)
- $(INSTALL) -m 644 osmesa.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
+ $(INSTALL) -m 644 osmesa.pc $(DESTDIR)$(prefix)/libdata/pkgconfig
install-dri: default
cd drivers/dri && $(MAKE) install