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
Responsible Changed From-To: freebsd-ports-bugs->lippe Over to maintainer (via the GNATS Auto Assign Tool)
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 Committed. Thanks!