pkgsrc/x11/fltk/patches/patch-ae

29 lines
746 B
Text
Raw Normal View History

2001-05-26 08:37:45 +02:00
$NetBSD: patch-ae,v 1.2 2001/05/26 06:37:46 jlam Exp $
2001-05-26 08:37:45 +02:00
--- fluid/Makefile.orig Mon Jan 22 10:13:38 2001
+++ fluid/Makefile
@@ -49,9 +49,9 @@
2001-05-26 08:37:45 +02:00
include ../makeinclude
2001-05-26 08:37:45 +02:00
-$(PROGRAM) : $(OBJECTS) ../lib/$(LIBNAME)
+$(PROGRAM) : $(OBJECTS) $(LIBFLTK)
echo Linking $@...
- $(CXX) -L../lib $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) -lfltk $(LDLIBS)
+ $(CXX) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(LINKFLTK) $(LDLIBS)
clean :
-@ rm -f *.o $(PROGRAM) $(CLEAN) core *~ makedepend
@@ -63,9 +63,9 @@
install: $(PROGRAM)
echo "Installing FLUID..."
- strip $(PROGRAM)
-mkdir -p $(bindir)
- cp $(PROGRAM) $(bindir)/$(PROGRAM)
+ $(INSTALL_BIN) $(PROGRAM) $(bindir)/$(PROGRAM)
+ strip $(bindir)/$(PROGRAM)
chmod 755 $(bindir)/$(PROGRAM)
uninstall: