Edit

IABSD.fr/ports/security/nettle/Makefile

Branch :

  • Show log

    Commit

  • Author : kmos
    Date : 2026-05-29 02:51:00
    Hash : 4f5e0465
    Message : nettle wants stdalign.h which is not available in base-gcc Move to ports-gcc on sparc64 to fix the build

  • security/nettle/Makefile
  • COMMENT=		cryptographic library
    
    DISTNAME=		nettle-4.0
    REVISION=		0
    
    SHARED_LIBS +=  hogweed                   4.0 # 6.7
    SHARED_LIBS +=  nettle                    8.0 # 8.7
    
    CATEGORIES=		security devel
    
    HOMEPAGE=		http://www.lysator.liu.se/~nisse/nettle/
    
    MAINTAINER=		Antoine Jacoutot <ajacoutot@openbsd.org>
    
    # LGPLv2.1+
    PERMIT_PACKAGE=		Yes
    
    # stdalign.h
    COMPILER=		base-clang ports-gcc
    COMPILER_LANGS=		c
    
    WANTLIB += c gmp
    
    SITES=			${SITE_GNU:=nettle/}
    
    LIB_DEPENDS=		devel/gmp
    
    USE_GMAKE=		Yes
    
    AUTOCONF_VERSION=	2.72
    
    CONFIGURE_STYLE=	autoconf
    CONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
    			LDFLAGS="-L${LOCALBASE}/lib"
    
    DEBUG_PACKAGES=		${BUILD_PACKAGES}
    
    MAKE_FLAGS=		LIBNETTLE_SONAME=libnettle.so.${LIBnettle_VERSION} \
    			LIBNETTLE_FILE=libnettle.so.${LIBnettle_VERSION} \
    			LIBHOGWEED_SONAME=libhogweed.so.${LIBhogweed_VERSION} \
    			LIBHOGWEED_FILE=libhogweed.so.${LIBhogweed_VERSION}
    
    .include <bsd.port.mk>