2a77163761
Simplify package and distfile name handling.
25 lines
780 B
Plaintext
25 lines
780 B
Plaintext
$OpenBSD: patch-src_Makefile,v 1.1 2002/03/30 21:27:24 naddy Exp $
|
|
--- src/Makefile.orig Sat Mar 30 22:10:44 2002
|
|
+++ src/Makefile Sat Mar 30 22:12:43 2002
|
|
@@ -159,7 +159,7 @@ $(LIBRARY): $(OBJECTS)
|
|
$(LIBCOMMAND) $@ $(OBJECTS)
|
|
$(RANLIB) $@
|
|
|
|
-libfltk.so.1 libfltk.sl.1: $(OBJECTS)
|
|
+$(DSONAME): $(OBJECTS)
|
|
echo $(DSOCOMMAND) $@ ...
|
|
$(DSOCOMMAND) $@ $(OBJECTS)
|
|
|
|
@@ -185,6 +185,11 @@ install: $(LIBRARY) $(DSONAME)
|
|
cp libfltk.so.1 $(libdir); \
|
|
chmod 755 $(libdir)/libfltk.so.1; \
|
|
ln -s libfltk.so.1 $(libdir)/libfltk.so;\
|
|
+ fi
|
|
+ if test "$(DSONAME)" = libfltk.so.1.0; then\
|
|
+ rm -f $(libdir)/libfltk.so*;\
|
|
+ cp libfltk.so.1.0 $(libdir); \
|
|
+ chmod 755 $(libdir)/libfltk.so.1.0; \
|
|
fi
|
|
if test "$(DSONAME)" = libfltk.sl.1; then\
|
|
rm -f $(libdir)/libfltk.sl*;\
|