head	1.2;
access;
symbols
	pkgsrc-2026Q3:1.2.0.26
	pkgsrc-2026Q3-base:1.2
	pkgsrc-2026Q2:1.2.0.24
	pkgsrc-2026Q2-base:1.2
	pkgsrc-2026Q1:1.2.0.22
	pkgsrc-2026Q1-base:1.2
	pkgsrc-2025Q4:1.2.0.20
	pkgsrc-2025Q4-base:1.2
	pkgsrc-2025Q3:1.2.0.18
	pkgsrc-2025Q3-base:1.2
	pkgsrc-2025Q2:1.2.0.16
	pkgsrc-2025Q2-base:1.2
	pkgsrc-2025Q1:1.2.0.14
	pkgsrc-2025Q1-base:1.2
	pkgsrc-2024Q4:1.2.0.12
	pkgsrc-2024Q4-base:1.2
	pkgsrc-2024Q3:1.2.0.10
	pkgsrc-2024Q3-base:1.2
	pkgsrc-2024Q2:1.2.0.8
	pkgsrc-2024Q2-base:1.2
	pkgsrc-2024Q1:1.2.0.6
	pkgsrc-2024Q1-base:1.2
	pkgsrc-2023Q4:1.2.0.4
	pkgsrc-2023Q4-base:1.2
	pkgsrc-2023Q3:1.2.0.2
	pkgsrc-2023Q3-base:1.2
	pkgsrc-2023Q2:1.1.0.10
	pkgsrc-2023Q2-base:1.1
	pkgsrc-2023Q1:1.1.0.8
	pkgsrc-2023Q1-base:1.1
	pkgsrc-2022Q4:1.1.0.6
	pkgsrc-2022Q4-base:1.1
	pkgsrc-2022Q3:1.1.0.4
	pkgsrc-2022Q3-base:1.1
	pkgsrc-2022Q2:1.1.0.2
	pkgsrc-2022Q2-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2023.08.06.10.14.50;	author nia;	state Exp;
branches;
next	1.1;
commitid	eamVsTw8vyTQbIzE;

1.1
date	2022.05.09.00.37.59;	author khorben;	state Exp;
branches;
next	;
commitid	gd9dSKsak2rHAjDD;


desc
@@


1.2
log
@lua-cyrussasl: Ensure objects used in shared libraries are built with -fPIC.

Do not invoke git during builds.
@
text
@$NetBSD: patch-Makefile,v 1.1 2022/05/09 00:37:59 khorben Exp $

Allow using the right compilation flags and installation path

Do not invoke git.

--- Makefile.orig	2015-08-21 22:24:54.000000000 +0000
+++ Makefile
@@@@ -17,11 +17,11 @@@@
 #CPATH=/usr/local/lib/lua/5.1
 
 # MacOS (tested with 10.6, 10.7, 10.8)
-CFLAGS=-g -Wall -O2
-LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2
-MACOSX_VERSION=10.5
-LUAPATH=/usr/local/share/lua/5.1
-CPATH=/usr/local/lib/lua/5.1
+#CFLAGS=-g -Wall -O2
+#LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2
+#MACOSX_VERSION=10.5
+#LUAPATH=/usr/local/share/lua/5.1
+#CPATH=/usr/local/lib/lua/5.1
 
 #########################################################
 #
@@@@ -40,6 +40,7 @@@@ OBJS=cyrussasl.o luaabstract.o context.o
 all: $(TARGET)
 
 install: $(TARGET)
+	mkdir -p $(CPATH)
 	cp $(TARGET) $(CPATH)
 
 clean:
@@@@ -67,5 +68,4 @@@@ context.c: context.h
 version:
 	@@if ! test -f $(BUILD_VERSION); then echo 0 > $(BUILD_VERSION); fi
 	@@echo $$(($$(cat $(BUILD_VERSION)) + 1)) > $(BUILD_VERSION)
-	@@if ! test -f $(BRANCH_VERSION); then git log --pretty=oneline -1|cut -c1-8 > $(BRANCH_VERSION); fi
 
@


1.1
log
@lua-cyrussasl: import version 1.1.0

Cyrus SASL library for Lua 5.1+.
@
text
@d1 1
a1 1
$NetBSD$
d5 2
d34 6
@

