Bug 169785

Summary: [PATCH] devel/cgdb: link against libutil to use openpty(3)
Product: Ports & Packages Reporter: Pietro Cerutti <gahr>
Component: Individual Port(s)Assignee: Cheng-Lung Sung <clsung>
Status: Closed FIXED    
Severity: Affects Only Me CC: clsung
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
cgdb-0.6.6.patch none

Description Pietro Cerutti freebsd_committer freebsd_triage 2012-07-11 15:30:01 UTC
cgdb cannot find openpty(3) since it doesn't link against libutil. For this
reason, it uses pty(4) directly, which is not in the GENERIC kernel anymore.
The patch allow to link against libutil and use openpty(3), which is a cleaner
why to allocate ptys.

Port maintainer (clsung@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-11 15:30:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Pietro Cerutti freebsd_committer freebsd_triage 2012-08-29 11:04:17 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-08-29 11:04:23 UTC
Author: gahr
Date: Wed Aug 29 10:04:07 2012
New Revision: 303329
URL: http://svn.freebsd.org/changeset/ports/303329

Log:
  - Link against base libutil for openpty(3)
  
  PR:		169785
  Submitted by:	gahr
  Approved by:	maintainer (timeout > 1.5 month)

Modified:
  head/devel/cgdb/Makefile   (contents, props changed)

Modified: head/devel/cgdb/Makefile
==============================================================================
--- head/devel/cgdb/Makefile	Wed Aug 29 09:59:48 2012	(r303328)
+++ head/devel/cgdb/Makefile	Wed Aug 29 10:04:07 2012	(r303329)
@@ -19,6 +19,11 @@ MAN1=		cgdb.1
 GNU_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=	yes
 
+# we need this for openpty(3) . It sucks,
+# but since cgdb include a libutil itself,
+# we have to specify the full path.
+LDFLAGS+=    /usr/lib/libutil.so
+
 .include <bsd.port.pre.mk>
 
 # at this time we can not use LIB_DEPENDS, please read ports/99327
_______________________________________________
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"