openbsd-ports/x11/flvw/patches/patch-1_0_makeinclude_in
2002-08-10 19:58:52 +00:00

58 lines
1.1 KiB
Plaintext

$OpenBSD: patch-1_0_makeinclude_in,v 1.2 2002/08/10 19:58:52 wilfried Exp $
--- 1.0/makeinclude.in.orig Sat Jan 22 14:18:28 2000
+++ 1.0/makeinclude.in Sat Aug 10 18:24:25 2002
@@ -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 = -L ../lib -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