Edit

IABSD.fr/ports/archivers/gshar+gunshar/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2025-07-21 16:10:44
    Hash : 25e956cf
    Message : add missing WANTLIB on pthread

  • archivers/gshar+gunshar/Makefile
  • COMMENT=	packing and unpacking of shell archives
    
    DISTNAME=	sharutils-4.15.2
    REVISION=	6
    
    CATEGORIES=	archivers
    
    HOMEPAGE=	https://www.gnu.org/software/sharutils/
    
    SITES=		${SITE_GNU:=sharutils/}
    
    # GPLv3
    PERMIT_PACKAGE=	Yes
    
    WANTLIB =  c iconv intl pthread
    
    LIB_DEPENDS=	devel/gettext,-runtime
    
    CONFIGURE_STYLE= gnu
    CONFIGURE_ARGS+= --program-prefix="g" \
    		 --disable-uucode
    
    # Regression tests pass without --disable-uuencode
    NO_TEST=Yes
    
    # Fix up forward declarations from headers to fix build with "-fno-common"
    # as each respective .c file has the declares and defines it in one place.
    pre-patch:
    	sed -i '/program_name;/s/^/extern /' ${WRKSRC}/src/*.h
    
    .include <bsd.port.mk>