Bug 183088 - Update devel/lutok to 0.3
Summary: Update devel/lutok to 0.3
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: Alan Somers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-18 22:20 UTC by Julio Merino
Modified: 2013-10-22 16:17 UTC (History)
0 users

See Also:


Attachments
file.diff (35.90 KB, patch)
2013-10-18 22:20 UTC, Julio Merino
no flags Details | Diff
patch2.txt (36.64 KB, text/plain; charset=US-ASCII)
2013-10-21 23:38 UTC, asomers
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julio Merino 2013-10-18 22:20:00 UTC
	Lutok 0.3 is available and Kyua 0.7 has just been released, which
	unblocks this update.

	Patch below.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-18 22:20:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->asomers

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 asomers 2013-10-21 23:38:53 UTC
Julio's patch works for me, with one change: I had to update pkg-plist
with the new shared library name.  Also, I added a PLIST_SUB line so
that /usr/local/tests/lutok won't be created.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-10-22 00:10:58 UTC
Author: asomers (src committer)
Date: Mon Oct 21 23:10:50 2013
New Revision: 331207
URL: http://svnweb.freebsd.org/changeset/ports/331207

Log:
  Update to version 0.3.  Don't create the empty directory /usr/tests/lutok.
  
  PR:		183088
  Submitted by:	Julio Merino <julio@meroh.net>
  Reviewed by:	asomers
  Approved by:	bdrewery

Deleted:
  head/devel/lutok/files/
Modified:
  head/devel/lutok/Makefile
  head/devel/lutok/distinfo
  head/devel/lutok/pkg-plist

Modified: head/devel/lutok/Makefile
==============================================================================
--- head/devel/lutok/Makefile	Mon Oct 21 23:09:11 2013	(r331206)
+++ head/devel/lutok/Makefile	Mon Oct 21 23:10:50 2013	(r331207)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	lutok
-PORTVERSION=	0.2
+PORTVERSION=	0.3
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
@@ -29,6 +29,12 @@ CONFIGURE_ARGS+=	--without-doxygen
 # TODO: install the tests, once FreeBSD has a system for ports to install tests
 CONFIGURE_ARGS+=	--without-atf
 
+# Force the use of the lua version we have chosen via USE_LUA.  If we allow
+# lutok's configure script search for one using pkgconfig files, it might pick
+# a different version.
+CONFIGURE_ARGS+=	LUA_CFLAGS="-I${LUA_INCDIR}"
+CONFIGURE_ARGS+=	LUA_LIBS="-L${LUA_LIBDIR} -llua -lm"
+
 MAKE_FLAGS+=	examplesdir=${EXAMPLESDIR}
 .if ! ${PORT_OPTIONS:MDOCS}
 MAKE_FLAGS+=	doc_DATA=
@@ -40,7 +46,7 @@ MAKE_FLAGS+=	examples_DATA=
 PORTDOCS=	AUTHORS COPYING NEWS README html
 PORTEXAMPLES=	Makefile bindings.cpp hello.cpp interpreter.cpp raii.cpp
 
-PLIST_SUBST+=	TESTS="@comment "
+PLIST_SUB+=	TESTS="@comment "
 
 post-patch: .SILENT
 	@${REINPLACE_CMD} -e 's|@pkgconfigdir@|${PREFIX}/libdata/pkgconfig|' \

Modified: head/devel/lutok/distinfo
==============================================================================
--- head/devel/lutok/distinfo	Mon Oct 21 23:09:11 2013	(r331206)
+++ head/devel/lutok/distinfo	Mon Oct 21 23:10:50 2013	(r331207)
@@ -1,2 +1,2 @@
-SHA256 (lutok-0.2.tar.gz) = df6f175fdd417ff830ec46509816a40b92fec816de726e815b4ae4f7fea405bd
-SIZE (lutok-0.2.tar.gz) = 492333
+SHA256 (lutok-0.3.tar.gz) = 32d8e823432560dae3606094f1203cfab0f23c889440cc7b92a1739a68c2369e
+SIZE (lutok-0.3.tar.gz) = 523296

Modified: head/devel/lutok/pkg-plist
==============================================================================
--- head/devel/lutok/pkg-plist	Mon Oct 21 23:09:11 2013	(r331206)
+++ head/devel/lutok/pkg-plist	Mon Oct 21 23:10:50 2013	(r331207)
@@ -9,9 +9,9 @@ include/lutok/test_utils.hpp
 lib/liblutok.a
 lib/liblutok.la
 lib/liblutok.so
-lib/liblutok.so.1
+lib/liblutok.so.2
 libdata/pkgconfig/lutok.pc
-@exec mkdir -p %D/tests/lutok
-@dirrm tests/lutok
-@dirrmtry tests
+%%TESTS%%@exec mkdir -p %D/tests/lutok
+%%TESTS%%@dirrm tests/lutok
+%%TESTS%%@dirrmtry tests
 @dirrm include/lutok
_______________________________________________
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 4 Alan Somers freebsd_committer freebsd_triage 2013-10-22 16:17:36 UTC
State Changed
From-To: open->closed

Updated in revision 331207