ports/astro/wcslib/patches/patch-C_GNUmakefile

15 lines
500 B
Text

Suppresses linked static library nonsense
Index: C/GNUmakefile
--- C/GNUmakefile.orig
+++ C/GNUmakefile
@@ -332,10 +332,6 @@ install : build
$(INSTALL) -m 644 $(WCSLIB) $(LIBDIR) ; \
fi
$(RANLIB) $(LIBDIR)/$(WCSLIB)
- - if [ -h "$(LIBDIR)/libwcs.a" ] ; then \
- $(RM) $(LIBDIR)/libwcs.a ; \
- fi
- $(LN_S) $(WCSLIB) $(LIBDIR)/libwcs.a
if [ "$(SHRLIB)" != "" ] ; then \
$(INSTALL) -m 755 $(SHRLIB) $(LIBDIR) ; \
if [ -h "$(LIBDIR)/$(SONAME)" ] ; then \