openbsd-ports/x11/fltk/patches/patch-src_Makefile

116 lines
4.1 KiB
Plaintext
Raw Normal View History

2003-12-26 09:18:30 -05:00
$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
2002-11-16 11:30:00 -05:00
@@ -198,11 +198,9 @@ $(LIBNAME): $(OBJECTS)
$(LIBCOMMAND) $@ $(OBJECTS)
$(RANLIB) $@
-libfltk.so.1.1: $(OBJECTS)
2003-12-26 09:18:30 -05:00
+libfltk.so.4.0: $(OBJECTS)
2002-11-16 11:30:00 -05:00
echo $(DSOCOMMAND) $@ ...
2003-12-26 09:18:30 -05:00
$(DSOCOMMAND) $@ $(OBJECTS)
2002-11-16 11:30:00 -05:00
- -$(RM) libfltk.so
- $(LN) libfltk.so.1.1 libfltk.so
libfltk.sl.1.1: $(OBJECTS)
echo $(DSOCOMMAND) $@ ...
2003-12-26 09:18:30 -05:00
@@ -234,11 +232,9 @@ $(FLLIBNAME): $(FLOBJECTS)
2002-11-16 11:30:00 -05:00
$(LIBCOMMAND) $@ $(FLOBJECTS)
$(RANLIB) $@
2003-12-26 09:18:30 -05:00
-libfltk_forms.so.1.1: $(FLOBJECTS) libfltk.so.1.1
+libfltk_forms.so.4.0: $(FLOBJECTS) libfltk.so.4.0
2002-11-16 11:30:00 -05:00
echo $(DSOCOMMAND) $@ ...
2003-12-26 09:18:30 -05:00
$(DSOCOMMAND) $@ $(FLOBJECTS) -L. -lfltk
2002-11-16 11:30:00 -05:00
- -$(RM) libfltk_forms.so
- $(LN) libfltk_forms.so.1.1 libfltk_forms.so
2003-12-26 09:18:30 -05:00
libfltk_forms.sl.1.1: $(FLOBJECTS) libfltk.sl.1.1
2002-11-16 11:30:00 -05:00
echo $(DSOCOMMAND) $@ ...
2003-12-26 09:18:30 -05:00
@@ -270,11 +266,9 @@ $(GLLIBNAME): $(GLOBJECTS)
2002-11-16 11:30:00 -05:00
$(LIBCOMMAND) $@ $(GLOBJECTS)
$(RANLIB) $@
2003-12-26 09:18:30 -05:00
-libfltk_gl.so.1.1: $(GLOBJECTS) libfltk.so.1.1
+libfltk_gl.so.4.0: $(GLOBJECTS) libfltk.so.4.0
2002-11-16 11:30:00 -05:00
echo $(DSOCOMMAND) $@ ...
2003-12-26 09:18:30 -05:00
$(DSOCOMMAND) $@ $(GLOBJECTS) -L. -lfltk
2002-11-16 11:30:00 -05:00
- -$(RM) libfltk_gl.so
- $(LN) libfltk_gl.so.1.1 libfltk_gl.so
2003-12-26 09:18:30 -05:00
libfltk_gl.sl.1.1: $(GLOBJECTS) libfltk.sl.1.1
2002-11-16 11:30:00 -05:00
echo $(DSOCOMMAND) $@ ...
2003-12-26 09:18:30 -05:00
@@ -306,11 +300,9 @@ $(IMGLIBNAME): $(IMGOBJECTS)
2002-11-16 11:30:00 -05:00
$(LIBCOMMAND) $@ $(IMGOBJECTS)
$(RANLIB) $@
2003-12-26 09:18:30 -05:00
-libfltk_images.so.1.1: $(IMGOBJECTS) libfltk.so.1.1
+libfltk_images.so.4.0: $(IMGOBJECTS) libfltk.so.4.0
2002-11-16 11:30:00 -05:00
echo $(DSOCOMMAND) $@ ...
2003-12-26 09:18:30 -05:00
$(DSOCOMMAND) $@ $(IMGOBJECTS) $(IMAGELIBS) -L. -lfltk
2002-11-16 11:30:00 -05:00
- -$(RM) libfltk_images.so
- $(LN) libfltk_images.so.1.1 libfltk_images.so
2003-12-26 09:18:30 -05:00
libfltk_images.sl.1.1: $(IMGOBJECTS) libfltk.sl.1.1
2002-11-16 11:30:00 -05:00
echo $(DSOCOMMAND) $@ ...
2003-12-26 09:18:30 -05:00
@@ -428,11 +420,10 @@ install: $(LIBNAME) $(DSONAME) \
2002-11-16 11:30:00 -05:00
$(RANLIB) $(libdir)/$(GLLIBNAME); \
fi
$(RANLIB) $(libdir)/$(IMGLIBNAME)
- if test x$(DSONAME) = xlibfltk.so.1.1; then\
2003-12-26 09:18:30 -05:00
+ if test x$(DSONAME) = xlibfltk.so.4.0; then\
2002-11-16 11:30:00 -05:00
$(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;\
2003-12-26 09:18:30 -05:00
+ $(CP) libfltk.so.4.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk.so.4.0; \
2002-11-16 11:30:00 -05:00
fi
if test x$(DSONAME) = xlibfltk.sl.1.1; then\
$(RM) $(libdir)/libfltk.sl*;\
2003-12-26 09:18:30 -05:00
@@ -451,11 +442,10 @@ install: $(LIBNAME) $(DSONAME) \
2002-11-16 11:30:00 -05:00
$(CP) libfltk_s.a $(libdir); \
$(CHMOD) 755 $(libdir)/libfltk_s.a; \
fi
- if test x$(FLDSONAME) = xlibfltk_forms.so.1.1; then\
2003-12-26 09:18:30 -05:00
+ if test x$(FLDSONAME) = xlibfltk_forms.so.4.0; then\
2002-11-16 11:30:00 -05:00
$(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;\
2003-12-26 09:18:30 -05:00
+ $(CP) libfltk_forms.so.4.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk_forms.so.4.0; \
2002-11-16 11:30:00 -05:00
fi
if test x$(FLDSONAME) = xlibfltk_forms.sl.1.1; then\
$(RM) $(libdir)/libfltk_forms.sl*;\
2003-12-26 09:18:30 -05:00
@@ -474,11 +464,10 @@ install: $(LIBNAME) $(DSONAME) \
2002-11-16 11:30:00 -05:00
$(CP) libfltk_forms_s.a $(libdir); \
$(CHMOD) 755 $(libdir)/libfltk_forms.a; \
fi
- if test x$(GLDSONAME) = xlibfltk_gl.so.1.1; then\
2003-12-26 09:18:30 -05:00
+ if test x$(GLDSONAME) = xlibfltk_gl.so.4.0; then\
2002-11-16 11:30:00 -05:00
$(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;\
2003-12-26 09:18:30 -05:00
+ $(CP) libfltk_gl.so.4.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk_gl.so.4.0; \
2002-11-16 11:30:00 -05:00
fi
if test x$(GLDSONAME) = xlibfltk_gl.sl.1.1; then\
$(RM) $(libdir)/libfltk_gl.sl*;\
2003-12-26 09:18:30 -05:00
@@ -497,11 +486,10 @@ install: $(LIBNAME) $(DSONAME) \
2002-11-16 11:30:00 -05:00
$(CP) libfltk_gl_s.a $(libdir); \
$(CHMOD) 755 $(libdir)/libfltk_gl.a; \
fi
- if test x$(IMGDSONAME) = xlibfltk_images.so.1.1; then\
2003-12-26 09:18:30 -05:00
+ if test x$(IMGDSONAME) = xlibfltk_images.so.4.0; then\
2002-11-16 11:30:00 -05:00
$(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;\
2003-12-26 09:18:30 -05:00
+ $(CP) libfltk_images.so.4.0 $(libdir); \
+ $(CHMOD) 755 $(libdir)/libfltk_images.so.4.0; \
2002-11-16 11:30:00 -05:00
fi
if test x$(IMGDSONAME) = xlibfltk_images.sl.1.1; then\
$(RM) $(libdir)/libfltk_images.sl*;\