]> git.pld-linux.org Git - packages/newt.git/blob - newt-nopython.patch
- updated to 0.52.10
[packages/newt.git] / newt-nopython.patch
1 --- newt-0.52.10/Makefile.in.orig       2008-08-19 20:45:13.753250367 +0200
2 +++ newt-0.52.10/Makefile.in    2008-08-19 20:45:13.817251205 +0200
3 @@ -13,6 +13,7 @@
4  
5  PYTHONVERS = @PYTHONVERS@
6  WHIPTCLSO = @WHIPTCLSO@
7 +SNACKSO = _snackmodule.so
8  
9  PROGS = test whiptail $(WHIPTCLSO) testgrid testtree showchars showkey
10  TESTOBJS = test.o testgrid.o testtree.o showchars.o showkey.o
11 @@ -49,7 +50,7 @@
12  TARGET=depend $(PROGS)
13  endif
14  
15 -all:   $(TARGET) _snackmodule.so
16 +all:   $(TARGET) $(SNACKSO)
17  
18  test:  test.o $(LIBNEWT)
19         $(CC) -g -o test test.o $(LIBNEWT) $(LIBS)
20 @@ -125,13 +126,13 @@
21         install -m 644 whiptail.1 $(instroot)/$(man1dir)
22         make -C po datadir=$(instroot)/$(datadir) install
23  
24 -install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so
25 +install-sh: sharedlib $(WHIPTCLSO) $(SNACKSO)
26         [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)
27         install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir)
28         ln -sf $(LIBNEWTSONAME) $(instroot)/$(libdir)/libnewt.so
29         ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/$(LIBNEWTSONAME)
30         [ -n "$(WHIPTCLSO)" ] && install -m 755 whiptcl.so $(instroot)/$(libdir) || :
31 -       for ver in $(PYTHONVERS) ; do \
32 +       [ -z "$(SNACKSO)" ] || for ver in $(PYTHONVERS) ; do \
33            [ -d $(instroot)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(instroot)/$(libdir)/$$ver/site-packages ;\
34            install -m 755 $$ver/_snackmodule.so $(instroot)/$(libdir)/$$ver/site-packages ;\
35            install -m 644 snack.py $(instroot)/$(libdir)/$$ver/site-packages ;\
This page took 0.034348 seconds and 3 git commands to generate.