? work Index: files/patch-ab =================================================================== RCS file: /home/pcvs/ports/devel/newt/files/patch-ab,v retrieving revision 1.8 diff -a -u -r1.8 patch-ab --- files/patch-ab 10 Jan 2010 23:40:05 -0000 1.8 +++ files/patch-ab 3 Nov 2010 15:03:08 -0000 @@ -1,13 +1,25 @@ ---- Makefile.in 2009-09-24 11:03:09.000000000 -0400 -+++ Makefile.in 2010-01-06 01:33:55.000000000 -0500 -@@ -51,5 +51,5 @@ +--- Makefile.in.orig 2009-09-24 17:03:09.000000000 +0200 ++++ Makefile.in 2010-11-03 15:56:33.000000000 +0100 +@@ -2,7 +2,7 @@ LIBS = -lslang + LIBTCL = -ltcl8.4 + + CC = @CC@ +-CPP = @CPP@ ++CPP = $(CC) -E + CFLAGS = @CFLAGS@ + CPPFLAGS = -D_GNU_SOURCE -I/usr/include/slang @CPPFLAGS@ + +@@ -50,7 +50,7 @@ else + TARGET=depend $(PROGS) endif -all: $(TARGET) _snackmodule.so +all: $(TARGET) test: test.o $(LIBNEWT) -@@ -68,11 +68,11 @@ + $(CC) -g -o test test.o $(LIBNEWT) $(LIBS) +@@ -67,19 +67,19 @@ showchars: showchars.o $(LIBNEWT) + showkey: showkey.o $(LIBNEWT) $(CC) -g -o showkey showkey.o $(LIBNEWT) $(LIBS) +ifdef PYTHONVERS @@ -25,14 +37,16 @@ +endif whiptail: $(NDIALOGOBJS) $(LIBNEWTSH) -@@ -80,5 +80,5 @@ + $(CC) -g -o whiptail $(NDIALOGOBJS) -L . -lnewt $(LIBS) -lpopt whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH) - $(CC) -shared $(SHCFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L . -lnewt $(LIBTCL) -lpopt + $(CC) -shared $(SHCFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L . -lnewt $(LIBTCL) $(LIBS) -lpopt $(LIBNEWT): $(LIBOBJS) -@@ -119,18 +119,18 @@ + ar rv $@ $^ +@@ -118,20 +118,20 @@ install: $(LIBNEWT) install-sh whiptail + install -m 644 $(LIBNEWT) $(instroot)/$(libdir) install -m 755 whiptail $(instroot)/$(bindir) install -m 644 whiptail.1 $(instroot)/$(man1dir) - make -C po datadir=$(instroot)/$(datadir) install @@ -60,3 +74,4 @@ +endif Makefile: newt.spec + echo "You need to rerun ./configure before continuing"