Module Name:    src
Committed By:   christos
Date:           Thu May  3 01:14:54 UTC 2018

Modified Files:
        src/crypto/external/bsd/netpgp/bindings/lua: Makefile

Log Message:
don't build for non pic


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/crypto/external/bsd/netpgp/bindings/lua/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/netpgp/bindings/lua/Makefile
diff -u src/crypto/external/bsd/netpgp/bindings/lua/Makefile:1.1 src/crypto/external/bsd/netpgp/bindings/lua/Makefile:1.2
--- src/crypto/external/bsd/netpgp/bindings/lua/Makefile:1.1	Sun Apr 29 15:47:35 2018
+++ src/crypto/external/bsd/netpgp/bindings/lua/Makefile	Wed May  2 21:14:54 2018
@@ -1,5 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2018/04/29 19:47:35 sevan Exp $
+# $NetBSD: Makefile,v 1.2 2018/05/03 01:14:54 christos Exp $
 
+.include <bsd.init.mk>
+.if ${MKPIC} != no
 LUA_MODULES=netpgp
 LUA_SRCS.netpgp=glue.c
 LUA_DPLIBS+=netpgp ${.CURDIR}/../../lib/netpgp
@@ -7,5 +9,6 @@ LUA_DPLIBS+=netpgp ${.CURDIR}/../../lib/
 EXTDIST=${.CURDIR}/../../dist
 
 .PATH: ${EXTDIST}/bindings/lua
+.endif
 
 .include <bsd.lua.mk>

Reply via email to