freebsd-dev/contrib/ofed/libsdp/Makefile.am
Bryan Drewery fc064a5e78 Update libsdp to the latest 1.1.108-0.17.ga6958ef.
The only relevant change here is the support for IPv6 in the config
file.  The previous version of this supported IPv6 but not in the
config.  The change for that ended up removing __sdp_sockaddr_to_sdp
which the IPV4 config code required; the IPv6 fix resolved the lack of
that symbol.

Note that the ChangeLog was lacking entries for which we already had the
changes for, which itself was an upstream bug.

Obtained from:	https://www.openfabrics.org/downloads/libsdp/libsdp-1.1.108-0.17.ga6958ef.tar.gz
Sponsored by:	EMC / Isilon Storage Division
2016-03-04 22:37:31 +00:00

24 lines
746 B
Makefile

SUBDIRS = src
EXTRA_DIST = libsdp.spec.in libsdp.conf scripts/libsdp.logrotate
dist-hook: libsdp.spec
cp libsdp.spec $(distdir)
install-data-hook:
if test -e $(DESTDIR)$(sysconfdir)/libsdp.conf; then \
diff -q $(srcdir)/libsdp.conf $(DESTDIR)$(sysconfdir)/libsdp.conf 1> /dev/null; \
if test $$? == 1; then \
t=$(shell date +'%Y%m%d%H%M%S'); \
cp -p $(srcdir)/libsdp.conf \
$(DESTDIR)$(sysconfdir)/libsdp.conf.$$t; \
echo "NOTE: existing libsdp.conf was not updated."; \
echo " libsdp.conf installed as ibsdp.conf.$$t instead."; \
fi; \
else \
if test ! -d $(DESTDIR)$(sysconfdir); then \
mkdir -p $(DESTDIR)$(sysconfdir); \
fi; \
cp -p $(srcdir)/libsdp.conf $(DESTDIR)$(sysconfdir)/libsdp.conf; \
fi