openbsd-ports/x11/fltk/patches/patch-src_Makefile
2003-12-26 14:18:30 +00:00

116 lines
4.1 KiB
Plaintext

$OpenBSD: patch-src_Makefile,v 1.6 2003/12/26 14:18:30 wilfried Exp $
--- src/Makefile.orig 2003-08-24 15:09:06.000000000 +0200
+++ src/Makefile 2003-12-26 14:58:32.000000000 +0100
@@ -198,11 +198,9 @@ $(LIBNAME): $(OBJECTS)
$(LIBCOMMAND) $@ $(OBJECTS)
$(RANLIB) $@
-libfltk.so.1.1: $(OBJECTS)
+libfltk.so.4.0: $(OBJECTS)
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ $(OBJECTS)
- -$(RM) libfltk.so
- $(LN) libfltk.so.1.1 libfltk.so
libfltk.sl.1.1: $(OBJECTS)
echo $(DSOCOMMAND) $@ ...
@@ -234,11 +232,9 @@ $(FLLIBNAME): $(FLOBJECTS)
$(LIBCOMMAND) $@ $(FLOBJECTS)
$(RANLIB) $@
-libfltk_forms.so.1.1: $(FLOBJECTS) libfltk.so.1.1
+libfltk_forms.so.4.0: $(FLOBJECTS) libfltk.so.4.0
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ $(FLOBJECTS) -L. -lfltk
- -$(RM) libfltk_forms.so
- $(LN) libfltk_forms.so.1.1 libfltk_forms.so
libfltk_forms.sl.1.1: $(FLOBJECTS) libfltk.sl.1.1
echo $(DSOCOMMAND) $@ ...
@@ -270,11 +266,9 @@ $(GLLIBNAME): $(GLOBJECTS)
$(LIBCOMMAND) $@ $(GLOBJECTS)
$(RANLIB) $@
-libfltk_gl.so.1.1: $(GLOBJECTS) libfltk.so.1.1
+libfltk_gl.so.4.0: $(GLOBJECTS) libfltk.so.4.0
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ $(GLOBJECTS) -L. -lfltk
- -$(RM) libfltk_gl.so
- $(LN) libfltk_gl.so.1.1 libfltk_gl.so
libfltk_gl.sl.1.1: $(GLOBJECTS) libfltk.sl.1.1
echo $(DSOCOMMAND) $@ ...
@@ -306,11 +300,9 @@ $(IMGLIBNAME): $(IMGOBJECTS)
$(LIBCOMMAND) $@ $(IMGOBJECTS)
$(RANLIB) $@
-libfltk_images.so.1.1: $(IMGOBJECTS) libfltk.so.1.1
+libfltk_images.so.4.0: $(IMGOBJECTS) libfltk.so.4.0
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ $(IMGOBJECTS) $(IMAGELIBS) -L. -lfltk
- -$(RM) libfltk_images.so
- $(LN) libfltk_images.so.1.1 libfltk_images.so
libfltk_images.sl.1.1: $(IMGOBJECTS) libfltk.sl.1.1
echo $(DSOCOMMAND) $@ ...
@@ -428,11 +420,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.4.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.4.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk.so.4.0; \
fi
if test x$(DSONAME) = xlibfltk.sl.1.1; then\
$(RM) $(libdir)/libfltk.sl*;\
@@ -451,11 +442,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.4.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.4.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk_forms.so.4.0; \
fi
if test x$(FLDSONAME) = xlibfltk_forms.sl.1.1; then\
$(RM) $(libdir)/libfltk_forms.sl*;\
@@ -474,11 +464,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.4.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.4.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk_gl.so.4.0; \
fi
if test x$(GLDSONAME) = xlibfltk_gl.sl.1.1; then\
$(RM) $(libdir)/libfltk_gl.sl*;\
@@ -497,11 +486,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.4.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.4.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk_images.so.4.0; \
fi
if test x$(IMGDSONAME) = xlibfltk_images.sl.1.1; then\
$(RM) $(libdir)/libfltk_images.sl*;\