Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2012 20:10:35 +0800
From:      Jan Beich <jbeich@tormail.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/166315: [patch] devel/lua-alien: remove LICENSE dup, handle -fstack-protector and wrap CFLAGS
Message-ID:  <1SAf5f-0005oC-B5@internal.tormail.net>
Resent-Message-ID: <201203221110.q2MBAD71054891@freefall.freebsd.org>

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

>Number:         166315
>Category:       ports
>Synopsis:       [patch] devel/lua-alien: remove LICENSE dup, #-fno-stack-protector and wrap CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 22 11:10:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
http://docs.freebsd.org/cgi/mid.cgi?1S7TtD-000NZE-Rd

that mail was sent around 18 Feb but due to issues with mx1 only the
last copy arrived to the archives
>Description:
Remove junk introduced by the last committer that was not in ports/161002.
>How-To-Repeat:
>Fix:
--- misc.diff begins here ---
Index: devel/lua-alien/Makefile
===================================================================
RCS file: /a/.csup/ports/devel/lua-alien/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- devel/lua-alien/Makefile	8 Feb 2012 20:09:29 -0000	1.7
+++ devel/lua-alien/Makefile	18 Feb 2012 18:05:56 -0000
@@ -16,15 +16,15 @@ DIST_SUBDIR=	lua-${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Lua -> C FFI
 
-LIB_DEPENDS=	ffi.5:${PORTSDIR}/devel/libffi
-
 LICENSE=	MIT
 
-LICENSE=	MIT
+LIB_DEPENDS=	ffi.5:${PORTSDIR}/devel/libffi
+
 USE_LUA=	5.1
 
 WRKSRC=		${WRKDIR}/${GITHUB_USER}-${PORTNAME}-${GITHUB_SRC_SUFX}
-CFLAGS+=	-I${LOCALBASE}/include -I${LUA_INCDIR} -DBSD -fPIC #-fno-stack-protector
+CFLAGS+=	-I${LOCALBASE}/include -I${LUA_INCDIR} \
+		-DBSD -fPIC
 LDFLAGS+=	-L${LOCALBASE}/lib -L${LUA_LIBDIR} -llua -shared
 MAKE_ENV+=	LIB_OPTION="${LDFLAGS}" LIB_EXT=".so" LUA="${LUA_CMD}"
 TESTS_EXCLUDE=	tests/alien tests/alien.lua
--- misc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1SAf5f-0005oC-B5>