Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # $OpenBSD: Makefile,v 1.48 2017/06/04 21:09:15 kili Exp $
  2. ONLY_FOR_ARCHS = amd64 i386 powerpc sparc64
  3. COMMENT = ANSI Common Lisp implementation
  4. DISTNAME= clisp-2.49
  5. REVISION = 1
  6. CATEGORIES= lang
  7. HOMEPAGE= http://clisp.cons.org/
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MODULES= devel/gettext
  11. LIB_DEPENDS = devel/libsigsegv \
  12. devel/ffcall>=1.10p1
  13. WANTLIB = avcall c callback m ncurses readline sigsegv
  14. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
  15. EXTRACT_SUFX= .tar.bz2
  16. USE_GMAKE= Yes
  17. SEPARATE_BUILD= Yes
  18. CONFIGURE_STYLE= gnu old
  19. CONFIGURE_ARGS= --fsstnd=openbsd \
  20. --disable-mmap \
  21. --with-gettext \
  22. --mandir=${PREFIX}/man \
  23. --docdir=${PREFIX}/share/doc/clisp \
  24. --elispdir=${PREFIX}/share/emacs/site-lisp \
  25. --vimdir=${PREFIX}/share/doc/clisp \
  26. --srcdir=${WRKSRC} ${WRKBUILD} \
  27. --without-dynamic-modules
  28. CONFIGURE_ENV = ac_cv_prog_DVIPDF='' \
  29. ac_cv_prog_GROFF='' \
  30. ac_cv_prog_PS2PDF=''
  31. .if ${MACHINE_ARCH} == "sparc64"
  32. CFLAGS += -DSAFETY=2 -DNO_ASM -mcmodel=medany
  33. .endif
  34. .if ${MACHINE_ARCH} == "powerpc"
  35. CONFIGURE_ARGS += --with-gmalloc
  36. CFLAGS += -fno-pie -nopie
  37. LDFLAGS += -nopie
  38. .else
  39. CONFIGURE_ARGS += --without-gmalloc
  40. .endif
  41. pre-build:
  42. ln -sf ${LOCALBASE}/bin/gmake ${WRKDIR}/bin/make
  43. .include <bsd.port.mk>