- SHARED_LIBS
- Regen PFRAG.shared - Bump PKGNAME
This commit is contained in:
parent
cced271fc3
commit
275b321055
@ -1,9 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2005/12/10 23:02:05 pedro Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2006/01/03 23:00:31 alek Exp $
|
||||
|
||||
COMMENT= "powerful, light-weight programming language"
|
||||
|
||||
DISTNAME= lua-5.0.2
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
PKGNAME= ${DISTNAME}p3
|
||||
SHARED_LIBS= lua 5.0 \
|
||||
lualib 5.0
|
||||
CATEGORIES= lang
|
||||
|
||||
MASTER_SITES= http://www.lua.org/ftp/ \
|
||||
@ -31,6 +33,9 @@ CFLAGS+= -fPIC
|
||||
ALL_TARGET+= all so sobin
|
||||
.endif
|
||||
|
||||
MAKE_FLAGS= LIBlua_VERSION=${LIBlua_VERSION} \
|
||||
LIBlualib_VERSION=${LIBlualib_VERSION}
|
||||
|
||||
post-extract:
|
||||
.for f in init luapkg packages
|
||||
@sed -e "s:@pkgconf@:${SYSCONFDIR}/lua/packages.lua:g" \
|
||||
|
15
lang/lua/patches/patch-Makefile
Normal file
15
lang/lua/patches/patch-Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1 2006/01/03 23:00:32 alek Exp $
|
||||
--- Makefile.orig Fri Mar 12 02:50:55 2004
|
||||
+++ Makefile Tue Jan 3 23:45:20 2006
|
||||
@@ -38,9 +38,8 @@ install: all strip
|
||||
|
||||
# shared libraries (for Linux)
|
||||
so:
|
||||
- ld -o lib/liblua.so.$V -shared src/*.o
|
||||
- ld -o lib/liblualib.so.$V -shared src/lib/*.o
|
||||
- cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so
|
||||
+ ld -o lib/liblua.so.${LIBlua_VERSION} -shared src/*.o
|
||||
+ ld -o lib/liblualib.so.${LIBlualib_VERSION} -shared src/lib/*.o
|
||||
|
||||
# binaries using shared libraries
|
||||
sobin:
|
@ -1,5 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.3 2004/09/15 19:16:08 espie Exp $
|
||||
@comment lib/liblua.so
|
||||
@lib lib/liblua.so.5.0
|
||||
@comment lib/liblualib.so
|
||||
@lib lib/liblualib.so.5.0
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.4 2006/01/03 23:00:32 alek Exp $
|
||||
@lib lib/liblua.so.${LIBlua_VERSION}
|
||||
@lib lib/liblualib.so.${LIBlualib_VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user