Skip site navigation (1)Skip section navigation (2)
Date:      12 Nov 2003 02:13:06 -0000
From:      Richard Kiss <kiss@gizzywump.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59199: add shared libraries to lang/lua port
Message-ID:  <20031112021306.6678.qmail@gizzywump.com>
Resent-Message-ID: <200311120220.hAC2K68a099043@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59199
>Category:       ports
>Synopsis:       add shared libraries to lang/lua port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 11 18:20:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Richard Kiss
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
Richard Kiss
>Environment:
System: FreeBSD kalamalka.gizzywump.com 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #3: Wed Oct 8 22:41:20 PDT 2003 root@kalamalka.gizzywump.com:/mnt/usr/obj/mnt/usr/src/sys/GIZZYWUMP i386


	
>Description:
	Request to add shared libraries install to lua port.
>How-To-Repeat:
	
>Fix:

diff -ruN lua/Makefile lua-rk/Makefile
--- lua/Makefile	Tue May 13 02:40:34 2003
+++ lua-rk/Makefile	Tue Nov 11 18:07:56 2003
@@ -20,6 +20,9 @@
 
 USE_REINPLACE=	yes
 MAN1=		lua.1 luac.1
+ALL_TARGET=	all so
+INSTALL_TARGET=	install soinstall
+INSTALLS_SHLIB=	YES
 
 do-configure:
 	${REINPLACE_CMD} \
@@ -32,6 +35,7 @@
 		-e 's|^\(INSTALL_DATA=\).*$$|\1 ${INSTALL_DATA}|' \
 		-e 's|^#\(USERCONF.*READLINE.*\)$$|\1|' \
 		-e 's|^\(EXTRA_LIBS=\).*$$|\1 -lm -lreadline -lhistory -lncurses|' \
+		-e 's|V=5.0|V=5|' \
 		${WRKSRC}/config
 
 post-install:
diff -ruN lua/pkg-plist lua-rk/pkg-plist
--- lua/pkg-plist	Sat May 10 15:29:24 2003
+++ lua-rk/pkg-plist	Tue Nov 11 18:09:10 2003
@@ -5,6 +5,10 @@
 include/lualib.h
 lib/liblua.a
 lib/liblualib.a
+lib/liblua.so.5
+lib/liblualib.so.5
+lib/liblua.so
+lib/liblualib.so
 share/doc/lua/logo.gif
 share/doc/lua/lua.html
 share/doc/lua/luac.html
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031112021306.6678.qmail>