diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/newt/newt-0.52.7-notcl.patch | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/newt/newt-0.52.7-notcl.patch')
-rw-r--r-- | main/newt/newt-0.52.7-notcl.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/main/newt/newt-0.52.7-notcl.patch b/main/newt/newt-0.52.7-notcl.patch new file mode 100644 index 000000000..b9f86e6b6 --- /dev/null +++ b/main/newt/newt-0.52.7-notcl.patch @@ -0,0 +1,35 @@ +--- newt-0.52.7/Makefile.in.orig 2008-01-15 16:57:12.000000000 +0100 ++++ newt-0.52.7/Makefile.in 2008-01-15 16:58:38.000000000 +0100 +@@ -15,7 +15,7 @@ + PYTHONVERS = @PYTHONVERS@ + WHIPTCLSO = @WHIPTCLSO@ + +-PROGS = test whiptail $(WHIPTCLSO) testgrid testtree showchars showkey ++PROGS = test whiptail testgrid testtree showchars showkey + TESTOBJS = test.o testgrid.o testtree.o showchars.o showkey.o + NDIALOGOBJS = whiptail.o dialogboxes.o + WHIPTCLOBJS = shared/whiptcl.o shared/dialogboxes.o +@@ -78,9 +78,6 @@ + whiptail: $(NDIALOGOBJS) $(LIBNEWTSH) + $(CC) -g -o whiptail $(NDIALOGOBJS) -L . -lnewt $(LIBS) -lpopt + +-whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH) +- $(CC) -shared $(SHCFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L . -lnewt $(LIBTCL) -lslang -lpopt -lm +- + $(LIBNEWT): $(LIBOBJS) + ar rv $@ $^ + +@@ -120,12 +117,11 @@ + install -m 644 whiptail.1 $(instroot)/$(man1dir) + make -C po datadir=$(instroot)/$(datadir) install + +-install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so ++install-sh: sharedlib _snackmodule.so + [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir) + install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir) + ln -sf $(LIBNEWTSONAME) $(instroot)/$(libdir)/libnewt.so + ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/$(LIBNEWTSONAME) +- [ -n "$(WHIPTCLSO)" ] && install -m 755 whiptcl.so $(instroot)/$(libdir) || : + for ver in $(PYTHONVERS) ; do \ + [ -d $(instroot)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(instroot)/$(libdir)/$$ver/site-packages ;\ + install -m 755 $$ver/_snackmodule.so $(instroot)/$(libdir)/$$ver/site-packages ;\ |