1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/math/abs/files/patch-aa

26 lines
610 B
Plaintext
Raw Normal View History

--- Makefile.orig Sun Dec 20 11:56:29 1998
+++ Makefile Mon Mar 22 20:05:40 1999
@@ -1,10 +1,11 @@
CURRENT_DIR = .
-SUBDIRS = Xpm TextField-1.0
+SUBDIRS = TextField-1.0
MAKE = make
-LIBS = -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
+CFLAGS+=-I$(X11BASE)/include
+LIBS = -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext -lXpm
SRCS = \
applic.c \
@@ -105,7 +106,7 @@
$(MAKE) all); \
fi \
done
- cc -o abs ./TextField-1.0/*.o $(OBJS) ./Xpm/libxpm.a $(LIBS)
+ $(CC) $(CFLAGS) -o abs ./TextField-1.0/*.o $(OBJS) $(LIBS)
clean::
rm -f *.o */*.o */*.a