openbsd-ports/textproc/libical/patches/patch-src_libicalss_Makefile_am
ajacoutot 2ad37a2be2 Update to libical-0.46.
Merge some more changes from upstream SVN.

ok sebastia@ (maintainer)
2011-10-02 08:55:40 +00:00

28 lines
807 B
Plaintext

$OpenBSD: patch-src_libicalss_Makefile_am,v 1.3 2011/10/02 08:55:40 ajacoutot Exp $
--- src/libicalss/Makefile.am.orig Mon Aug 30 22:07:44 2010
+++ src/libicalss/Makefile.am Sat Oct 1 11:46:25 2011
@@ -29,11 +29,7 @@ LEX_OUTPUT_ROOT = lex.ss
BUILT_SOURCES = icalss.h
-# just to get it built
-$(srcdir)/icalgauge.c: icalssyacc.h
-$(srcdir)/icalsslexer.c: icalssyacc.h
-
if WITH_BDB4
BDB_INCLUDE=-I@BDB_DIR_INCLUDE@ -DWITH_BDB4
BDB_SOURCEFILES=icalbdbset.c icalbdbset.h icalbdbsetimpl.h
@@ -73,6 +69,11 @@ libicalss_la_LIBADD = $(BDB_LIBFILES) $(top_builddir)/
if DEV
libicalss_la_DEVSOURCES = icalsslexer.l icalssyacc.y
+
+# just to get it built
+$(srcdir)/icalgauge.c: icalssyacc.h
+$(srcdir)/icalsslexer.c: icalssyacc.h
+
else
libicalss_la_DEVSOURCES = icalsslexer.c icalssyacc.c
endif