svn commit: r361616 - head/net/anet
John Marino
marino at FreeBSD.org
Sat Jul 12 13:58:59 UTC 2014
Author: marino
Date: Sat Jul 12 13:58:57 2014
New Revision: 361616
URL: http://svnweb.freebsd.org/changeset/ports/361616
QAT: https://qat.redports.org/buildarchive/r361616/
Log:
net/anet: Install missing files and relocate static library
Natacha noticed that some of the source files were not being installed.
I tested the fix using PREFIX/lib/gnat/anet.gpr and then discovered it
was expecting libanet.a to be installed at PREFIX/lib rather than
PREFIX/lib/anet, so I modified the pkg-plist for that as well.
PR: 191406
Submitted by: Natacha Porte
Patch by: maintainer (marino)
Modified:
head/net/anet/Makefile
head/net/anet/pkg-plist
Modified: head/net/anet/Makefile
==============================================================================
--- head/net/anet/Makefile Sat Jul 12 13:18:55 2014 (r361615)
+++ head/net/anet/Makefile Sat Jul 12 13:58:57 2014 (r361616)
@@ -3,6 +3,7 @@
PORTNAME= anet
PORTVERSION= 0.3.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.codelabs.ch/download/
DISTNAME= libanet-${PORTVERSION}
@@ -55,9 +56,11 @@ do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
${STAGEDIR}${PREFIX}/lib/anet \
${STAGEDIR}${PREFIX}/include/anet
- ${INSTALL_DATA} ${WRKSRC}/src/*.ad[bs] \
+ ${INSTALL_DATA} ${WRKSRC}/src/*.ad[bs] ${WRKSRC}/src/bsd/*.ad[bs] \
${STAGEDIR}${PREFIX}/include/anet
- ${INSTALL_DATA} ${WRKSRC}/lib/static/* ${STAGEDIR}${PREFIX}/lib/anet
+ ${INSTALL_DATA} ${WRKSRC}/lib/static/*.ali \
+ ${STAGEDIR}${PREFIX}/lib/anet
+ ${INSTALL_DATA} ${WRKSRC}/lib/static/*.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/gnat/anet.gpr ${STAGEDIR}${PREFIX}/lib/gnat
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
Modified: head/net/anet/pkg-plist
==============================================================================
--- head/net/anet/pkg-plist Sat Jul 12 13:18:55 2014 (r361615)
+++ head/net/anet/pkg-plist Sat Jul 12 13:58:57 2014 (r361616)
@@ -7,18 +7,26 @@ include/anet/anet-net_ifaces.adb
include/anet/anet-net_ifaces.ads
include/anet/anet-os.adb
include/anet/anet-os.ads
+include/anet/anet-os_constants.ads
include/anet/anet-receivers-datagram.adb
include/anet/anet-receivers-datagram.ads
include/anet/anet-receivers-stream.adb
include/anet/anet-receivers-stream.ads
include/anet/anet-receivers.adb
include/anet/anet-receivers.ads
+include/anet/anet-socket_families.ads
include/anet/anet-sockets-filters.adb
include/anet/anet-sockets-filters.ads
+include/anet/anet-sockets-inet-iface.adb
include/anet/anet-sockets-inet-iface.ads
include/anet/anet-sockets-inet.adb
include/anet/anet-sockets-inet.ads
+include/anet/anet-sockets-thin-inet.adb
+include/anet/anet-sockets-thin-inet.ads
+include/anet/anet-sockets-thin-netdev-requests.ads
include/anet/anet-sockets-thin-netdev.ads
+include/anet/anet-sockets-thin-sockaddr.ads
+include/anet/anet-sockets-thin-unix.ads
include/anet/anet-sockets-thin.ads
include/anet/anet-sockets-unix.adb
include/anet/anet-sockets-unix.ads
@@ -60,8 +68,8 @@ lib/anet/anet-types.ali
lib/anet/anet-udp.ali
lib/anet/anet-util.ali
lib/anet/anet.ali
-lib/anet/libanet.a
lib/gnat/anet.gpr
+lib/libanet.a
%%PORTDOCS%%%%DOCSDIR%%/html/asciidoc.css
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/html
More information about the svn-ports-all
mailing list