Makefile 764 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.24 2016/03/11 19:59:12 naddy Exp $
  2. COMMENT= Embedded SQL implementation
  3. DISTNAME= sqlite-2.8.17
  4. REVISION = 4
  5. CATEGORIES= databases
  6. SHARED_LIBS += sqlite 8.6 # .0.0
  7. MASTER_SITES= ${HOMEPAGE}
  8. HOMEPAGE= http://www.sqlite.org/
  9. # PD
  10. PERMIT_PACKAGE_CDROM= Yes
  11. AUTOCONF_VERSION=2.59
  12. USE_GMAKE= Yes
  13. WANTLIB= c ncurses readline
  14. FLAVORS=no_tcl
  15. FLAVOR?=
  16. CONFIGURE_STYLE=autoconf no-autoheader
  17. .if ${FLAVOR:Mno_tcl}
  18. NO_TEST= Yes
  19. CONFIGURE_ARGS+=--disable-tcl
  20. .else
  21. TEST_TARGET= test
  22. MODULES= lang/tcl
  23. BUILD_DEPENDS+= ${MODTCL_BUILD_DEPENDS}
  24. CONFIGURE_ENV+= config_TARGET_TCL_LIBS="-L${LOCALBASE}/lib -ltcl${MODTCL_VERSION:S/.//} -lm"
  25. CONFIGURE_ENV+= config_TARGET_TCL_INC="-I${MODTCL_INCDIR}"
  26. .endif
  27. .include <bsd.port.mk>