[csw-devel] SF.net SVN: gar:[13210] csw/mgar/pkg/libffi/trunk/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sun Feb 6 10:48:14 CET 2011
Revision: 13210
http://gar.svn.sourceforge.net/gar/?rev=13210&view=rev
Author: wahwah
Date: 2011-02-06 09:48:14 +0000 (Sun, 06 Feb 2011)
Log Message:
-----------
libffi: Header files moved to /opt/csw/include
Modified Paths:
--------------
csw/mgar/pkg/libffi/trunk/Makefile
Modified: csw/mgar/pkg/libffi/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libffi/trunk/Makefile 2011-02-06 03:50:19 UTC (rev 13209)
+++ csw/mgar/pkg/libffi/trunk/Makefile 2011-02-06 09:48:14 UTC (rev 13210)
@@ -87,4 +87,11 @@
rm $(DESTDIR)$(libdir)/libffi.so
ginstall -m 755 -d $(DESTDIR)$(libdir)/ffi
ln -s ../libffi.so.5.0.10 $(DESTDIR)$(libdir)/ffi/libffi.so
+ ginstall -d -m 755 $(DESTDIR)$(includedir)
+ # By default, libffi installer puts include files into a subdirectory under
+ # /opt/csw/lib, which makes the header files hard to find. We're moving
+ # them to /opt/csw/include.
+ gmv -v $(DESTDIR)$(libdir)/$(NAME)-$(VERSION)/include/* $(DESTDIR)$(includedir)
+ rmdir $(DESTDIR)$(libdir)/$(NAME)-$(VERSION)/include
+ rmdir $(DESTDIR)$(libdir)/$(NAME)-$(VERSION)
@$(MAKECOOKIE)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list