openbsd-ports/x11/fltk/patches/patch-src_Makefile
2003-04-02 12:58:43 +00:00

116 lines
3.9 KiB
Plaintext

$OpenBSD: patch-src_Makefile,v 1.5 2003/04/02 12:58:43 wilfried Exp $
--- src/Makefile.orig Thu Jan 30 22:43:17 2003
+++ src/Makefile Wed Apr 2 14:36:42 2003
@@ -198,11 +198,9 @@ $(LIBNAME): $(OBJECTS)
$(LIBCOMMAND) $@ $(OBJECTS)
$(RANLIB) $@
-libfltk.so.1.1: $(OBJECTS)
+libfltk.so.3.0: $(OBJECTS)
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ $(OBJECTS) $(IMAGELIBS)
- -$(RM) libfltk.so
- $(LN) libfltk.so.1.1 libfltk.so
libfltk.sl.1.1: $(OBJECTS)
echo $(DSOCOMMAND) $@ ...
@@ -230,11 +228,9 @@ $(FLLIBNAME): $(FLOBJECTS)
$(LIBCOMMAND) $@ $(FLOBJECTS)
$(RANLIB) $@
-libfltk_forms.so.1.1: $(FLOBJECTS)
+libfltk_forms.so.3.0: $(FLOBJECTS)
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ $(FLOBJECTS)
- -$(RM) libfltk_forms.so
- $(LN) libfltk_forms.so.1.1 libfltk_forms.so
libfltk_forms.sl.1.1: $(FLOBJECTS)
echo $(DSOCOMMAND) $@ ...
@@ -262,11 +258,9 @@ $(GLLIBNAME): $(GLOBJECTS)
$(LIBCOMMAND) $@ $(GLOBJECTS)
$(RANLIB) $@
-libfltk_gl.so.1.1: $(GLOBJECTS)
+libfltk_gl.so.3.0: $(GLOBJECTS)
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ $(GLOBJECTS)
- -$(RM) libfltk_gl.so
- $(LN) libfltk_gl.so.1.1 libfltk_gl.so
libfltk_gl.sl.1.1: $(GLOBJECTS)
echo $(DSOCOMMAND) $@ ...
@@ -294,11 +288,9 @@ $(IMGLIBNAME): $(IMGOBJECTS)
$(LIBCOMMAND) $@ $(IMGOBJECTS)
$(RANLIB) $@
-libfltk_images.so.1.1: $(IMGOBJECTS)
+libfltk_images.so.3.0: $(IMGOBJECTS)
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ $(IMGOBJECTS)
- -$(RM) libfltk_images.so
- $(LN) libfltk_images.so.1.1 libfltk_images.so
libfltk_images.sl.1.1: $(IMGOBJECTS)
echo $(DSOCOMMAND) $@ ...
@@ -412,11 +404,10 @@ install: $(LIBNAME) $(DSONAME) \
$(RANLIB) $(libdir)/$(GLLIBNAME); \
fi
$(RANLIB) $(libdir)/$(IMGLIBNAME)
- if test x$(DSONAME) = xlibfltk.so.1.1; then\
+ if test x$(DSONAME) = xlibfltk.so.3.0; then\
$(RM) $(libdir)/libfltk.so*;\
- $(CP) libfltk.so.1.1 $(libdir); \
- $(CHMOD) 755 $(libdir)/libfltk.so.1.1; \
- $(LN) libfltk.so.1.1 $(libdir)/libfltk.so;\
+ $(CP) libfltk.so.3.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk.so.3.0; \
fi
if test x$(DSONAME) = xlibfltk.sl.1.1; then\
$(RM) $(libdir)/libfltk.sl*;\
@@ -435,11 +426,10 @@ install: $(LIBNAME) $(DSONAME) \
$(CP) libfltk_s.a $(libdir); \
$(CHMOD) 755 $(libdir)/libfltk_s.a; \
fi
- if test x$(FLDSONAME) = xlibfltk_forms.so.1.1; then\
+ if test x$(FLDSONAME) = xlibfltk_forms.so.3.0; then\
$(RM) $(libdir)/libfltk_forms.so*;\
- $(CP) libfltk_forms.so.1.1 $(libdir); \
- $(CHMOD) 755 $(libdir)/libfltk_forms.so.1.1; \
- $(LN) libfltk_forms.so.1.1 $(libdir)/libfltk_forms.so;\
+ $(CP) libfltk_forms.so.3.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk_forms.so.3.0; \
fi
if test x$(FLDSONAME) = xlibfltk_forms.sl.1.1; then\
$(RM) $(libdir)/libfltk_forms.sl*;\
@@ -458,11 +448,10 @@ install: $(LIBNAME) $(DSONAME) \
$(CP) libfltk_forms_s.a $(libdir); \
$(CHMOD) 755 $(libdir)/libfltk_forms.a; \
fi
- if test x$(GLDSONAME) = xlibfltk_gl.so.1.1; then\
+ if test x$(GLDSONAME) = xlibfltk_gl.so.3.0; then\
$(RM) $(libdir)/libfltk_gl.so*;\
- $(CP) libfltk_gl.so.1.1 $(libdir); \
- $(CHMOD) 755 $(libdir)/libfltk_gl.so.1.1; \
- $(LN) libfltk_gl.so.1.1 $(libdir)/libfltk_gl.so;\
+ $(CP) libfltk_gl.so.3.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk_gl.so.3.0; \
fi
if test x$(GLDSONAME) = xlibfltk_gl.sl.1.1; then\
$(RM) $(libdir)/libfltk_gl.sl*;\
@@ -481,11 +470,10 @@ install: $(LIBNAME) $(DSONAME) \
$(CP) libfltk_gl_s.a $(libdir); \
$(CHMOD) 755 $(libdir)/libfltk_gl.a; \
fi
- if test x$(IMGDSONAME) = xlibfltk_images.so.1.1; then\
+ if test x$(IMGDSONAME) = xlibfltk_images.so.3.0; then\
$(RM) $(libdir)/libfltk_images.so*;\
- $(CP) libfltk_images.so.1.1 $(libdir); \
- $(CHMOD) 755 $(libdir)/libfltk_images.so.1.1; \
- $(LN) libfltk_images.so.1.1 $(libdir)/libfltk_images.so;\
+ $(CP) libfltk_images.so.3.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk_images.so.3.0; \
fi
if test x$(IMGDSONAME) = xlibfltk_images.sl.1.1; then\
$(RM) $(libdir)/libfltk_images.sl*;\