From nobody@FreeBSD.org  Wed Nov  7 17:23:49 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8276F962
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Nov 2012 17:23:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 685A98FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Nov 2012 17:23:49 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qA7HNnlX030839
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 7 Nov 2012 17:23:49 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qA7HNnUK030823;
	Wed, 7 Nov 2012 17:23:49 GMT
	(envelope-from nobody)
Message-Id: <201211071723.qA7HNnUK030823@red.freebsd.org>
Date: Wed, 7 Nov 2012 17:23:49 GMT
From: Kevin Day <kevin@your.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/st makefile is missing a file
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         173447
>Category:       ports
>Synopsis:       devel/st makefile is missing a file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lippe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 07 17:30:01 UTC 2012
>Closed-Date:    Thu Feb 07 19:29:00 UTC 2013
>Last-Modified:  Thu Feb 07 19:29:00 UTC 2013
>Originator:     Kevin Day
>Release:        9.0-RELEASE
>Organization:
Your.Org
>Environment:
>Description:
ports devel/st has a FreeBSD supplied makefile in files/Makefile.main which builds okay, but is missing a file. Attempting to use libst anywhere produces:

/usr/local/lib/libst.so: undefined reference to `_st_eventsys'
/usr/local/lib/libst.so: undefined reference to `st_set_eventsys'


>How-To-Repeat:
Build and link anything to libst

>Fix:
--- files/Makefile.main~	2008-10-19 08:58:53.000000000 -0700
+++ files/Makefile.main	2012-11-07 09:08:46.000000000 -0800
@@ -8,7 +8,7 @@
 LIB=		st
 NO_PROFILE=	yes
 
-SRCS=		io.c key.c sched.c stk.c sync.c
+SRCS=		io.c key.c sched.c stk.c sync.c event.c
 CFLAGS+=	-DFREEBSD
 
 .include <bsd.lib.mk>

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lippe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Nov 7 17:30:09 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173447 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/173447: commit references a PR
Date: Thu,  7 Feb 2013 19:18:03 +0000 (UTC)

 Author: lippe
 Date: Thu Feb  7 19:17:55 2013
 New Revision: 311880
 URL: http://svnweb.freebsd.org/changeset/ports/311880
 
 Log:
   - Fix Makefile to install event module recently added
   - Make portlint happy
   
   PR:		ports/162602, ports/173447
   Submitted by:	Mark Delany <z2n@delta.emu.st>, Kevin Day <kevin@your.org>
 
 Modified:
   head/devel/st/Makefile   (contents, props changed)
   head/devel/st/files/Makefile.main   (contents, props changed)
 
 Modified: head/devel/st/Makefile
 ==============================================================================
 --- head/devel/st/Makefile	Thu Feb  7 19:07:07 2013	(r311879)
 +++ head/devel/st/Makefile	Thu Feb  7 19:17:55 2013	(r311880)
 @@ -1,12 +1,10 @@
 -# New ports collection makefile for:    st
 -# Date created:         Sun Feb 18 2001
 -# Whom:                 tobez@tobez.org
 -#
 +# Created by: tobez
  # $FreeBSD$
  #
  
  PORTNAME=	st
  PORTVERSION=	1.9
 +PORTREVISION=	1
  CATEGORIES=	devel
  MASTER_SITES=	SF/${PORTNAME}ate-threads/${PORTNAME}ate-threads/${PORTVERSION}
  
 @@ -30,9 +28,11 @@ post-patch:
  
  post-install:
  	@${CP} ${WRKSRC}/public.h ${PREFIX}/include/st.h
 -.if !defined(NOPORTDOCS)
 +.if ${PORT_OPTIONS:MDOCS}
  	@${MKDIR} ${DOCSDIR}
  	@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}/
 +.endif
 +.if ${PORT_OPTIONS:MEXAMPLES}
  	@${MKDIR} ${EXAMPLESDIR}
  	@${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/examples/,} ${EXAMPLESDIR}/
  .endif
 
 Modified: head/devel/st/files/Makefile.main
 ==============================================================================
 --- head/devel/st/files/Makefile.main	Thu Feb  7 19:07:07 2013	(r311879)
 +++ head/devel/st/files/Makefile.main	Thu Feb  7 19:17:55 2013	(r311880)
 @@ -8,7 +8,7 @@ SHLIB_MINOR=	1
  LIB=		st
  NO_PROFILE=	yes
  
 -SRCS=		io.c key.c sched.c stk.c sync.c
 +SRCS=		io.c key.c sched.c stk.c sync.c event.c
  CFLAGS+=	-DFREEBSD
  
  .include <bsd.lib.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"
 
State-Changed-From-To: open->closed 
State-Changed-By: lippe 
State-Changed-When: Thu Feb 7 19:29:00 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173447 
>Unformatted:
