svn commit: r349096 - in head/devel/libassa: . files
Baptiste Daroussin
bapt at FreeBSD.org
Mon Mar 24 23:40:58 UTC 2014
Author: bapt
Date: Mon Mar 24 23:40:57 2014
New Revision: 349096
URL: http://svnweb.freebsd.org/changeset/ports/349096
QAT: https://qat.redports.org/buildarchive/r349096/
Log:
Support stage
Fix build with clang
Modified:
head/devel/libassa/Makefile
head/devel/libassa/files/patch-assa:INETAddress.cpp
head/devel/libassa/pkg-plist
Modified: head/devel/libassa/Makefile
==============================================================================
--- head/devel/libassa/Makefile Mon Mar 24 23:37:28 2014 (r349095)
+++ head/devel/libassa/Makefile Mon Mar 24 23:40:57 2014 (r349096)
@@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.([[:digit:]])$/-\1/}
MAINTAINER= rodrigo at FreeBSD.org
-COMMENT= An C++ networking library and application framework
+COMMENT= C++ networking library and application framework
GNU_CONFIGURE= yes
USES= pathfix pkgconfig
@@ -18,13 +18,10 @@ PLIST_SUB= ASSA_VERSION=${PORTVERSION:R:
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/(\.[[:digit:]])$//}
-MAN1= assa-genesis.1
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s: doc : :g' ${WRKSRC}/Makefile.in
post-install:
- ${INSTALL_MAN} ${WRKSRC}/debian/assa-genesis.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/debian/assa-genesis.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>
Modified: head/devel/libassa/files/patch-assa:INETAddress.cpp
==============================================================================
--- head/devel/libassa/files/patch-assa:INETAddress.cpp Mon Mar 24 23:37:28 2014 (r349095)
+++ head/devel/libassa/files/patch-assa:INETAddress.cpp Mon Mar 24 23:40:57 2014 (r349096)
@@ -1,9 +1,10 @@
--- assa/INETAddress.cpp.orig Thu Jul 20 06:13:13 2006
+++ assa/INETAddress.cpp Wed Sep 6 16:13:15 2006
-@@ -17,6 +17,7 @@
+@@ -17,6 +17,8 @@
#else
# include <netdb.h> // gethostbyname(3)
extern int h_errno; // gethostbyname(3)
++# include <stdlib.h> // for strtol
+# include <sys/types.h> // for AF_INET
# include <sys/socket.h> // for AF_INET
# include <unistd.h>
Modified: head/devel/libassa/pkg-plist
==============================================================================
--- head/devel/libassa/pkg-plist Mon Mar 24 23:37:28 2014 (r349095)
+++ head/devel/libassa/pkg-plist Mon Mar 24 23:40:57 2014 (r349096)
@@ -62,5 +62,6 @@ lib/libassa-%%ASSA_VERSION%%.la
lib/libassa-%%ASSA_VERSION%%.so
lib/libassa-%%ASSA_VERSION%%.so.4
libdata/pkgconfig/assa-%%ASSA_VERSION%%.pc
+man/man1/assa-genesis.1.gz
@dirrm include/assa-%%ASSA_VERSION%%/assa
@dirrm include/assa-%%ASSA_VERSION%%
More information about the svn-ports-all
mailing list