Bug 186603 - [patch] net/libsocket++: USES=libtool, staging,...
Summary: [patch] net/libsocket++: USES=libtool, staging,...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tilman Keskinoz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-09 20:20 UTC by Tijl Coosemans
Modified: 2014-02-10 13:10 UTC (History)
0 users

See Also:


Attachments
file.diff (2.75 KB, patch)
2014-02-09 20:20 UTC, Tijl Coosemans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tijl Coosemans freebsd_committer freebsd_triage 2014-02-09 20:20:00 UTC
- Convert USE_AUTOTOOLS=libtool to USES=libtool.
- Replace pre-configure target with USE_AUTOTOOLS.
- Staging and DOCS option.

Fix: --- libsocket++.patch begins here ---
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-09 20:20:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->arved

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-02-10 13:05:39 UTC
Author: arved
Date: Mon Feb 10 13:05:31 2014
New Revision: 343627
URL: http://svnweb.freebsd.org/changeset/ports/343627
QAT: https://qat.redports.org/buildarchive/r343627/

Log:
  - Convert USE_AUTOTOOLS=libtool to USES=libtool.
  - Replace pre-configure target with USE_AUTOTOOLS.
  - Staging and DOCS option.
  
  PR:		186603
  Submitted by:	tijl

Deleted:
  head/net/libsocket++/files/patch-autogen
Modified:
  head/net/libsocket++/Makefile
  head/net/libsocket++/pkg-plist

Modified: head/net/libsocket++/Makefile
==============================================================================
--- head/net/libsocket++/Makefile	Mon Feb 10 12:58:54 2014	(r343626)
+++ head/net/libsocket++/Makefile	Mon Feb 10 13:05:31 2014	(r343627)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libsocket++
 PORTVERSION=	1.12.13
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://src.linuxhacker.at/socket++/
 DISTNAME=	socket++-${PORTVERSION}
@@ -12,21 +13,20 @@ COMMENT=	A C++ wrapper library to the so
 
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/COPYING
+
+OPTIONS_DEFINE=	DOCS
+
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-USE_AUTOTOOLS=	automake autoconf libtool
-SCRIPTS_ENV+=	ACLOCAL_FLAGS="-I ${LOCALBASE}/share/aclocal/"
+USES=		libtool
+USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtoolize
+AUTOMAKE_ARGS=	-a -c
+LIBTOOLIZE_ARGS=-i -c
 
 INFO=	socket++
 
-NO_STAGE=	yes
-pre-configure:
-	@(cd ${WRKSRC}; ${SETENV} ${SCRIPTS_ENV} ${SH} ./autogen)
-
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/libsocket++
-	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/libsocket++
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/net/libsocket++/pkg-plist
==============================================================================
--- head/net/libsocket++/pkg-plist	Mon Feb 10 12:58:54 2014	(r343626)
+++ head/net/libsocket++/pkg-plist	Mon Feb 10 13:05:31 2014	(r343627)
@@ -1,7 +1,8 @@
 lib/libsocket++.a
 lib/libsocket++.la
-lib/libsocket++.so.1
 lib/libsocket++.so
+lib/libsocket++.so.1
+lib/libsocket++.so.1.0.2
 include/socket++/fork.h
 include/socket++/echo.h
 include/socket++/ftp.h
@@ -12,6 +13,6 @@ include/socket++/smtp.h
 include/socket++/sockinet.h
 include/socket++/sockstream.h
 include/socket++/sockunix.h
-%%PORTDOCS%%share/doc/libsocket++/README
-@dirrm share/doc/libsocket++
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/socket++
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2014-02-10 13:05:59 UTC
State Changed
From-To: open->closed

Committed, thanks