summaryrefslogtreecommitdiff
path: root/x11/fltk/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-11-25 18:58:36 +0000
committerjlam <jlam@pkgsrc.org>2002-11-25 18:58:36 +0000
commit971832637336f9e16b2530c8f196a3c88d2434c8 (patch)
tree158d95ff651d9692d96fe3d4336253a6c1c204d1 /x11/fltk/patches
parent9a50e4c655bf3134d8b9a7cbbc488f8bb9224655 (diff)
downloadpkgsrc-971832637336f9e16b2530c8f196a3c88d2434c8.tar.gz
Bump PKGREVISION to on x11/fltk to 1: link the dependent libraries
directly into libfltk.{la,so} so that we don't need to guess at which additional libraries will be needed to link into a program when linking against libfltk. Suggested in private email by Dave Sainty <dave at dtsp dot co dot nz>.
Diffstat (limited to 'x11/fltk/patches')
-rw-r--r--x11/fltk/patches/patch-ag12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11/fltk/patches/patch-ag b/x11/fltk/patches/patch-ag
index f40a969aa71..38919f44fed 100644
--- a/x11/fltk/patches/patch-ag
+++ b/x11/fltk/patches/patch-ag
@@ -1,8 +1,8 @@
-$NetBSD: patch-ag,v 1.1 2001/05/26 06:37:46 jlam Exp $
+$NetBSD: patch-ag,v 1.2 2002/11/25 18:58:37 jlam Exp $
---- src/Makefile.orig Mon Jan 22 10:13:40 2001
+--- src/Makefile.orig Mon Jan 22 07:13:40 2001
+++ src/Makefile
-@@ -148,17 +148,18 @@
+@@ -148,17 +148,18 @@ CLEAN =
include ../makeinclude
@@ -19,12 +19,12 @@ $NetBSD: patch-ag,v 1.1 2001/05/26 06:37:46 jlam Exp $
$(RANLIB) $@
+libfltk.la: $(OBJECTS)
-+ $(CXX) -o $@ $(OBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:5
++ $(CXX) -o $@ $(OBJECTS:.o=.lo) -rpath $(prefix)/lib -version-info 1:5 $(LDLIBS)
+
libfltk.so.1 libfltk.sl.1: $(OBJECTS)
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ $(OBJECTS)
-@@ -174,11 +175,13 @@
+@@ -174,11 +175,13 @@ include makedepend
################################################################
@@ -40,7 +40,7 @@ $NetBSD: patch-ag,v 1.1 2001/05/26 06:37:46 jlam Exp $
-chmod 644 $(libdir)/$(LIBNAME)
if test "$(DSONAME)" = libfltk.so.1; then\
rm -f $(libdir)/libfltk.so*;\
-@@ -192,11 +195,13 @@
+@@ -192,11 +195,13 @@ install: $(LIBRARY) $(DSONAME)
chmod 755 $(libdir)/libfltk.sl.1; \
ln -s libfltk.sl.1 $(libdir)/libfltk.sl;\
fi