1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-20 04:00:41 -04:00
ports/devel/pystring/files/patch-Makefile
Steve Wills c1c9687b13 devel/pystring: create port
Pystring is a collection of C++ functions which match the interface and
behavior of python's string class methods using std::string. Implemented in
C++, it does not require or make use of a python interpreter. It provides
convenience and familiarity for common string operations not included in the
standard C++ library. It's also useful in environments where both C++ and
python are used.

WWW: https://github.com/imageworks/pystring
2020-09-23 18:27:45 +00:00

15 lines
598 B
Text

--- Makefile.orig 2012-10-16 21:31:17 UTC
+++ Makefile
@@ -9,10 +9,10 @@ pystring.lo: pystring.h pystring.cpp
$(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(CXXFLAGS) -c pystring.cpp
libpystring.la: pystring.lo
- $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $< -rpath $(LIBDIR)
+ $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o libpystring.la pystring.lo -rpath $(LIBDIR)
install: libpystring.la
- $(LIBTOOL) --mode=install install -c $< $(LIBDIR)/$<
+ $(LIBTOOL) --mode=install install -c libpystring.la $(LIBDIR)/libpystring.la
clean:
$(RM) -fr pystring.lo pystring.o libpystring.la .libs