freebsd-ports/devel/pwlib/files/patch-Makefile.in
Maxim Sobolev 31e3705272 Shared library name in FreeBSD should be libfoo.so.X, not libfoo.so.X.Y.Z. No
user-visible changes, so that keep PORTREVISION intact.
2006-07-13 00:33:05 +00:00

26 lines
1,023 B
Text

$FreeBSD$
--- Makefile.in
+++ Makefile.in
@@ -257,18 +254,10 @@
$(DESTDIR)$(PREFIX)/share/pwlib/make ; \
do mkdir -p $$dir ; chmod 755 $$dir ; \
done )
- $(INSTALL) -m 444 lib/$(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
- (cd $(DESTDIR)$(LIBDIR) ; \
- rm -f $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@ ; \
- ln -sf $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@ \
- )
- (cd $(DESTDIR)$(LIBDIR) ; \
- rm -f $(PTLIB_FILE).@MAJOR_VERSION@ ; \
- ln -sf $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(PTLIB_FILE).@MAJOR_VERSION@ \
- )
+ $(INSTALL) -m 444 lib/$(PTLIB_FILE).@MAJOR_VERSION@ $(DESTDIR)$(LIBDIR)
(cd $(DESTDIR)$(LIBDIR) ; \
rm -f $(PTLIB_FILE) ; \
- ln -sf $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(PTLIB_FILE) \
+ ln -sf $(PTLIB_FILE).@MAJOR_VERSION@ $(PTLIB_FILE) \
)
(cd $(DESTDIR)$(LIBDIR); \
rm -f libpt.@SHAREDLIBEXT@ ; \