Import of pkgsrc-2014Q1
This commit is contained in:
20
textproc/lua-slnunicode/patches/patch-Makefile
Normal file
20
textproc/lua-slnunicode/patches/patch-Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
$NetBSD: patch-Makefile,v 1.1 2013/09/03 16:18:41 ryoon Exp $
|
||||
|
||||
* for pkgsrc.
|
||||
|
||||
--- Makefile.orig 2013-09-03 15:44:50.000000000 +0000
|
||||
+++ Makefile
|
||||
@@ -1,9 +1,9 @@
|
||||
# put next to lua-5.1.4
|
||||
-# then make -f slnunicode-1.1a/Makefile
|
||||
+# then make -f Makefile
|
||||
|
||||
-unicode.so: slnunicode-1.1a/slnunico.c slnunicode-1.1a/slnudata.c
|
||||
- gcc -Islnunicode-1.1a -Ilua-5.1.4/src -shared -Wall -Os -fpic -o unicode.so slnunicode-1.1a/slnunico.c
|
||||
- lua-5.1.4/src/lua slnunicode-1.1a/unitest
|
||||
+unicode.so: slnunico.c slnudata.c
|
||||
+ gcc -I. ${CFLAGS} -shared -Wall -Os -fpic -o unicode.so slnunico.c
|
||||
+ ${LUADIR}/bin/lua unitest
|
||||
|
||||
clean:
|
||||
rm unicode.so
|
||||
Reference in New Issue
Block a user