[Mono-bugs] [Bug 74587][Wis] New - gacutil should have -destdir option

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 13 Apr 2005 09:28:30 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by malekith@pld-linux.org.


--- shadow/74587	2005-04-13 09:28:30.000000000 -0400
+++ shadow/74587.tmp.28068	2005-04-13 09:28:30.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 74587
+Product: Mono: Tools
+Version: 1.1
+OS Details: amd64 pld linux
+Status: NEW   
+Priority: Wishlist
+Component: tools
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: malekith@pld-linux.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: gacutil should have -destdir option
+Description of Problem:
+When one wants to support DESTDIR installation to the gac, one needs to use:
+gacutil -root $(DESTDIR)/usr/lib -package ... -i ... 
+where the /usr/lib part need to obtained by some tricky configury magic
+(for example it is not `pkg-config --libdir mono`, because for some reason
+on amd64 dlls are installed to /usr/lib and not /usr/lib64 (where the .so
+files are installed).
+The -destdir option would cure this:
+gacutil -destdir "$(DESTDIR)" -package ... -i ...