openbsd-ports/x11/flvw/patches/patch-1_0_makeinclude_in
wilfried a1f28f3bd0 Import of flvw-20000224
FLTK Virtual Styles, List, Table, and Complex Table Widgets
2001-04-02 15:10:25 +00:00

58 lines
1.1 KiB
Plaintext

$OpenBSD: patch-1_0_makeinclude_in,v 1.1.1.1 2001/04/02 15:10:26 wilfried Exp $
--- 1.0/makeinclude.in.orig Sat Jan 22 14:18:28 2000
+++ 1.0/makeinclude.in Wed Mar 21 17:21:25 2001
@@ -30,27 +30,27 @@ CXX = @CXX@
RANLIB = @RANLIB@
RM = @RM@ -f
SHELL = /bin/sh
-LIBDIR = /usr/local/lib
+LIBDIR = @prefix@/lib
#
# Version options
#
-ifdef V1
-DEFVER =
-else
-DEFVER = -DFLTK_2
-endif
+#ifdef V1
+#DEFVER =
+#else
+#DEFVER = -DFLTK_2
+#endif
#
# Program options...
#
-ARFLAGS = crvs
-CFLAGS = @CFLAGS@ -I.. $(DEFVER)
-CXXFLAGS = @CXXFLAGS@ -I.. $(DEFVER)
-LIBS = -lflvw @LIBS@ -lX11 -lXext -rdynamic -lm -ldl
-LDFLAGS = @LDFLAGS@ -L../lib
+ARFLAGS = r
+CFLAGS = @CFLAGS@ $(DEFVER)
+CXXFLAGS = @CXXFLAGS@ $(DEFVER)
+LIBS = -lflvw @LIBS@ -lX11 -lXext -lm
+LDFLAGS = @LDFLAGS@
#
# Rules...
@@ -59,12 +59,10 @@ LDFLAGS = @LDFLAGS@ -L../lib
.SUFFIXES: .c .cxx .h .o
.c.o:
- @echo Compiling $<...
- @$(CC) $(CFLAGS) -c $<
+ $(CC) $(CFLAGS) -c $<
.cxx.o:
- @echo Compiling $<...
- @$(CXX) $(CXXFLAGS) -I. -c $<
+ $(CXX) $(CXXFLAGS) -I.. -c $<
#
# End of makeinclude