We link with -shared on SunOS. Fixes SunOS/x86_64. Bump PKGREVISION.

This commit is contained in:
fhajny 2014-04-16 14:07:50 +00:00
parent c14ed3ff26
commit e1f7d5bb80
3 changed files with 6 additions and 5 deletions

View file

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.9 2014/04/07 20:14:48 fhajny Exp $
# $NetBSD: Makefile,v 1.10 2014/04/16 14:07:50 fhajny Exp $
DISTNAME= luasec-0.5
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/lua//}
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/brunoos/luasec/archive/

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.5 2014/04/07 20:14:48 fhajny Exp $
$NetBSD: distinfo,v 1.6 2014/04/16 14:07:50 fhajny Exp $
SHA1 (luasec-0.5.tar.gz) = bcfe8fda66b6058d07031df3c4a20f6192cf3e73
RMD160 (luasec-0.5.tar.gz) = a9ef4591a770e178718e24778386136cdc87cadf
Size (luasec-0.5.tar.gz) = 46738 bytes
SHA1 (patch-aa) = 364c0e6ee5c4c04ca7c9cb8a70129013289e9df9
SHA1 (patch-ab) = 6f9dd58bef69d260bc28812e76d853f3510f6858
SHA1 (patch-ab) = 3cd9916a098d3f0f77bbb58eab9841021049e2f3

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ab,v 1.3 2014/04/07 20:14:48 fhajny Exp $
$NetBSD: patch-ab,v 1.4 2014/04/16 14:07:50 fhajny Exp $
Pass proper libs for SunOS.
--- src/Makefile.orig 2014-01-29 20:43:33.000000000 +0000
@ -17,7 +17,7 @@ Pass proper libs for SunOS.
MAC_LDFLAGS=-bundle -undefined dynamic_lookup $(LIBDIR)
+SOL_CFLAGS=-O2 -fpic $(WARN) $(INCDIR) $(DEFS)
+SOL_LDFLAGS=-O -G -fpic $(LIBDIR)
+SOL_LDFLAGS=-O -shared -fpic $(LIBDIR)
+
INSTALL ?= install
CC ?= cc