sthen 29cafd0f6f Fix SILC_ADD_CC_FLAGS to actually test that the compiler flags work,
they were testing the wrong thing. silc-toolkit diff from espie,
ports diff for all 3 from Brad.
2017-04-16 20:36:58 +00:00

42 lines
962 B
Makefile

# $OpenBSD: Makefile,v 1.41 2017/04/16 20:36:58 sthen Exp $
COMMENT= toolkit for the development of SILC applications
DISTNAME= silc-toolkit-1.1.12
REVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=silc/}
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS= silc 10.0 \
silcclient 8.0 \
HOMEPAGE= http://silcnet.org/dev.html
MAINTAINER= Brad Smith <brad@comstyle.com>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= iconv pthread
LIB_DEPENDS= converters/libiconv
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS+= devel/yasm
.endif
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.69
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
CONFIGURE_ENV+= ac_cv_path_NASM=no YASM=${LOCALBASE}/bin/yasm
.endif
CONFIGURE_ARGS+=--docdir=${PREFIX}/share/doc/silc \
--includedir=${PREFIX}/include/silc
.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "i386"
CONFIGURE_ARGS+=--disable-asm
.endif
.include <bsd.port.mk>