freebsd-ports/databases/libsdb/files/patch-Makefiles_Other
Jean-Yves Lefort c4052f10a0 Update to 0.6.1
PR:		ports/86030
Submitted by:	Marcus Alves Grando <marcus@corp.grupos.com.br>
2005-09-12 23:51:09 +00:00

22 lines
625 B
Text

--- Makefiles/Other.orig Tue Sep 13 00:26:50 2005
+++ Makefiles/Other Tue Sep 13 00:27:45 2005
@@ -24,16 +24,13 @@
$(SHAREDLIB): $(SHAREDOBJ)
rm -f $(SHAREDLIB)
- gcc -fPIC -shared -lc \
+ $(CC) -fPIC -shared \
-o $(SOVERSION) $(SHAREDOBJ)
ln -s $(SOVERSION) $(SHAREDLIB)
install-lib: $(STATICLIB) $(SHAREDLIB)
- make uninstall-lib
- make all
- mkdir -p $(LIBDIR)
- cp $(SOVERSION) $(LIBDIR)
- cp $(STATICLIB) $(LIBDIR)
+ $(BSD_INSTALL_PROGRAM) $(SOVERSION) $(LIBDIR)
+ $(BSD_INSTALL_DATA) $(STATICLIB) $(LIBDIR)
cd $(LIBDIR) && ln -s $(SOVERSION) $(SHAREDLIB)
cd $(LIBDIR) && ln -s $(SOVERSION) $(SONAME)