Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 206312 | Differences between
and this patch

Collapse All | Expand All

(-)newt-0.52.7-DESTDIR.patch (-1 / +3 lines)
Lines 24-38 Link Here
24
+	install -m 644 whiptail.1 $(DESTDIR)/$(man1dir)
23
+	install -m 644 whiptail.1 $(DESTDIR)/$(man1dir)
25
+	make -C po datadir=$(DESTDIR)/$(datadir) install
24
+	make -C po datadir=$(DESTDIR)/$(datadir) install
26
 
25
 
27
 install-sh: sharedlib _snackmodule.so
26
 install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so
28
-	[ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)
27
-	[ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)
29
-	install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir)
28
-	install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir)
30
-	ln -sf $(LIBNEWTSONAME) $(instroot)/$(libdir)/libnewt.so
29
-	ln -sf $(LIBNEWTSONAME) $(instroot)/$(libdir)/libnewt.so
31
-	ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/$(LIBNEWTSONAME)
30
-	ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/$(LIBNEWTSONAME)
31
-	[ -n "$(WHIPTCLSO)" ] && install -m 755 whiptcl.so $(instroot)/$(libdir) || :
32
+	[ -d $(DESTDIR)/$(libdir) ] || install -m 755 -d $(DESTDIR)/$(libdir)
32
+	[ -d $(DESTDIR)/$(libdir) ] || install -m 755 -d $(DESTDIR)/$(libdir)
33
+	install -m 755 $(LIBNEWTSH) $(DESTDIR)/$(libdir)
33
+	install -m 755 $(LIBNEWTSH) $(DESTDIR)/$(libdir)
34
+	ln -sf $(LIBNEWTSONAME) $(DESTDIR)/$(libdir)/libnewt.so
34
+	ln -sf $(LIBNEWTSONAME) $(DESTDIR)/$(libdir)/libnewt.so
35
+	ln -sf $(LIBNEWTSH) $(DESTDIR)/$(libdir)/$(LIBNEWTSONAME)
35
+	ln -sf $(LIBNEWTSH) $(DESTDIR)/$(libdir)/$(LIBNEWTSONAME)
36
+	[ -n "$(WHIPTCLSO)" ] && install -m 755 whiptcl.so $(DESTDIR)/$(libdir) || :
36
 	for ver in $(PYTHONVERS) ; do \
37
 	for ver in $(PYTHONVERS) ; do \
37
-	   [ -d $(instroot)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(instroot)/$(libdir)/$$ver/site-packages ;\
38
-	   [ -d $(instroot)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(instroot)/$(libdir)/$$ver/site-packages ;\
38
-	   install -m 755 $$ver/_snackmodule.so $(instroot)/$(libdir)/$$ver/site-packages ;\
39
-	   install -m 755 $$ver/_snackmodule.so $(instroot)/$(libdir)/$$ver/site-packages ;\

Return to bug 206312