ports/graphics/box/Makefile
Piotr Kubaj f674d29b53 graphics/box: fix build on 32-bits
vmsym.c:567:28: error: incompatible function pointer types passing 'BoxTask (BoxVM *, BoxVMSymID, BoxUInt, int, void *, BoxUInt, void *, BoxUInt)' (aka 'BoxTask (struct BoxVM_struct *, unsigned long, unsigned long, int, void *, unsigned long, void *, unsigned long)') to parameter of type 'BoxVMSymResolver' (aka 'BoxTask (*)(struct BoxVM_struct *, unsigned long, unsigned long, int, void *, unsigned int, void *, unsigned int)') [-Wincompatible-function-pointer-types]
  567 |   BoxVMSym_Ref(vm, sym_id, My_Code_Generator, ref_all, ref_all_size, -1);
      |                            ^~~~~~~~~~~~~~~~~
2025-01-12 22:36:49 +01:00

47 lines
1.1 KiB
Makefile

PORTNAME= box
PORTVERSION= 0.4.0
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}c/Box%20-%20the%20compiler/${DISTNAME}/
DIST_SUBDIR= box
MAINTAINER= ports@FreeBSD.org
COMMENT= Compiler for box, the figure description language
WWW= https://boxc.sourceforge.net
LICENSE= GPLv2+ LGPL3+
LICENSE_COMB= multi
BUILD_DEPENDS= docbook-to-man:textproc/docbook-to-man
LIB_DEPENDS= libcairo.so:graphics/cairo
USES= gmake libtool
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-cairo
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE=yes
MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
TEST_TARGET= check
PORTDOCS= AUTHORS ChangeLog README STYLE
PORTEXAMPLES= *
PLIST_SUB= PLIST_VER=${PORTVERSION:R}
OPTIONS_DEFINE= DOCS EXAMPLES
CFLAGS+= -Wno-error=incompatible-function-pointer-types
post-patch:
${TOUCH} ${WRKSRC}/man/${PORTNAME}.sgml
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>