ports/astro/wcslib/patches/patch-C_GNUmakefile

16 lines
500 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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 \