diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-09 20:20:41 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-09 20:20:41 +0000 |
commit | f452ef281ba8041f58074a1cc83bbe1278685b84 (patch) | |
tree | 2912ae946b1eaf8759a0e89d7270a119fab52aae /dev-libs/newt/files/newt-0.52.2-notcl.patch | |
parent | Pass kernel ARCH-var also at configure-time (necessary for rlim checks) (diff) | |
download | historical-f452ef281ba8041f58074a1cc83bbe1278685b84.tar.gz historical-f452ef281ba8041f58074a1cc83bbe1278685b84.tar.bz2 historical-f452ef281ba8041f58074a1cc83bbe1278685b84.zip |
Bump. A cleaner build system allows some cleaning of the ebuild. Also add patches from Red Hat to fix various bugs that didn't merit a version bump. New USE=tcl.
Package-Manager: portage-2.1.1_rc1-r7
Diffstat (limited to 'dev-libs/newt/files/newt-0.52.2-notcl.patch')
-rw-r--r-- | dev-libs/newt/files/newt-0.52.2-notcl.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/newt/files/newt-0.52.2-notcl.patch b/dev-libs/newt/files/newt-0.52.2-notcl.patch new file mode 100644 index 000000000000..46f581b6c6f4 --- /dev/null +++ b/dev-libs/newt/files/newt-0.52.2-notcl.patch @@ -0,0 +1,45 @@ +--- newt-0.52.2/Makefile.in.notcl 2005-11-22 09:39:14.000000000 +0100 ++++ newt-0.52.2/Makefile.in 2006-01-17 02:50:07.000000000 +0100 +@@ -14,7 +14,7 @@ + + WHIPTCLSO=whiptcl.so + +-PROGS = test whiptail $(WHIPTCLSO) testgrid testtree showchars showkey ++PROGS = test whiptail testgrid testtree showchars showkey + TESTOBJS = test.o + NDIALOGOBJS = whiptail.o dialogboxes.o + WHIPTCLOBJS = whiptcl.o dialogboxes.o +@@ -78,15 +78,15 @@ + 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 ++#whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH) ++# $(CC) -shared $(SHCFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L . -lnewt $(LIBTCL) -lslang -lpopt -lm + + # Ensure dialogboxes is compiled -fPIC + dialogboxes.o: dialogboxes.c + $(CC) $(CFLAGS) $(SHCFLAGS) -c dialogboxes.c + +-whiptcl.o: whiptcl.c +- $(CC) -I/usr/include/tcl8.4 $(SHCFLAGS) $(CFLAGS) -c whiptcl.c ++#whiptcl.o: whiptcl.c ++# $(CC) -I/usr/include/tcl8.4 $(SHCFLAGS) $(CFLAGS) -c whiptcl.c + + + $(LIBNEWT): $(LIBOBJS) +@@ -129,11 +129,11 @@ + install -m 644 $(LIBNEWT) $(instroot)/$(libdir) + install -m 755 whiptail $(instroot)/$(bindir) + +-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 $(LIBNEWTSH) $(instroot)/$(libdir)/libnewt.so +- [ -n "$(WHIPTCLSO)" ] && install -m 755 whiptcl.so $(instroot)/$(libdir) || : ++# [ -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 ;\ |