Bug 185517 - net/net6: Fix build on -current
Summary: net/net6: Fix build on -current
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-05 18:10 UTC by tkato432
Modified: 2014-01-08 18:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.49 KB, patch)
2014-01-05 18:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-01-05 18:10:07 UTC
- Fix build on -current

New file:
files/patch-inc__address.hpp
Comment 1 dfilter service freebsd_committer freebsd_triage 2014-01-08 18:01:28 UTC
Author: antoine
Date: Wed Jan  8 18:01:20 2014
New Revision: 339160
URL: http://svnweb.freebsd.org/changeset/ports/339160

Log:
  - Use new LIB_DEPENDS syntax
  - Use OPTIONS_HELPERS
  The PR also included a fix for build with clang but this got already fixed
  
  PR:		ports/185517
  Submitted by:	KATO Tsuguru

Modified:
  head/net/net6/Makefile

Modified: head/net/net6/Makefile
==============================================================================
--- head/net/net6/Makefile	Wed Jan  8 17:38:02 2014	(r339159)
+++ head/net/net6/Makefile	Wed Jan  8 18:01:20 2014	(r339160)
@@ -12,23 +12,19 @@ COMMENT=	Network access framework for IP
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
-		gnutls.26:${PORTSDIR}/security/gnutls
+LIB_DEPENDS=	libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \
+		libgnutls.so:${PORTSDIR}/security/gnutls
 
 USES=		pathfix pkgconfig
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
+NLS_CPPFLAGS=	-I${LOCALBASE}/include
+NLS_LDFLAGS=	-L${LOCALBASE}/lib
 
 .include <bsd.port.mk>
_______________________________________________
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 2 Antoine Brodin freebsd_committer freebsd_triage 2014-01-08 18:01:40 UTC
State Changed
From-To: open->closed

Patch committed, thanks!