Makefile.inc 825 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile.inc,v 1.11 2017/03/17 23:40:47 juanfra Exp $
  2. COMMENT= practical and portable Scheme system
  3. V= 4.12.0
  4. REVISION= 0
  5. DISTNAME= chicken-${V}
  6. MAINTAINER= Timo Myyra <timo.myyra@wickedbsd.net>
  7. CATEGORIES= lang
  8. HOMEPAGE= http://www.call-cc.org/
  9. MASTER_SITES= http://code.call-cc.org/releases/${V:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/
  10. # BSD
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB= c m pthread
  13. USE_GMAKE= Yes
  14. MAKE_FLAGS+= PLATFORM=bsd C_COMPILER="${CC}" CXX_COMPILER="${CXX}" \
  15. C_COMPILER_OPTIONS="-DHAVE_CHICKEN_CONFIG_H" \
  16. C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}"
  17. MAKE_FILE= GNUmakefile
  18. FAKE_FLAGS= PREFIX=${TRUEPREFIX}
  19. # Based on param.h:MACHINE_STACK_GROWS_UP
  20. pre-build:
  21. .if ${MACHINE_ARCH} == "hppa"
  22. sed -i 's/C_STACK_GROWS_DOWNWARD 1/C_STACK_GROWS_DOWNWARD 0/g' "${WRKSRC}/Makefile.bsd"
  23. .endif