Bug#134083: [PATCH] Fixes build failure
Apparently one of the required libraries wanted an extra compile-time
define. It was simply added to the makefile. The patch is attached.
Igor
--- njplot-0.0/debian/rules.old Mon Feb 18 00:42:47 2002
+++ njplot-0.0/debian/rules Mon Feb 18 00:42:12 2002
@@ -12,7 +12,7 @@
# Add here commands to compile the package.
- $(MAKE) OPT=-O2 DEBUG=-g
+ $(MAKE) OPT=-O2 DEBUG=-g CPPFLAGS=-DWIN_MOTIF
touch build-stamp
--- njplot-0.0/makefile.old Mon Feb 18 00:43:27 2002
+++ njplot-0.0/makefile Mon Feb 18 00:43:11 2002
@@ -2,7 +2,7 @@
OBJUNROOTED = unrooted-vib.o preptree.o
-CFLAGS = -c -I/usr/include/ncbi $(OPT) $(DEBUG)
+CFLAGS = -c -I/usr/include/ncbi $(OPT) $(DEBUG) $(CPPFLAGS)
CC = gcc
Reply to: