pkgsrc/devel/bglibs/Makefile
rillig fed3a6478f devel/bglibs: remove unnecessary errno hack option
This package does not have any error.h file.
2020-03-22 11:29:46 +00:00

31 lines
733 B
Makefile

# $NetBSD: Makefile,v 1.37 2020/03/22 11:29:46 rillig Exp $
#
DISTNAME= bglibs-2.04
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://untroubled.org/bglibs/
COMMENT= Collection of libraries by Bruce Guenter
LICENSE= gnu-gpl-v2
USE_TOOLS+= perl:run gmake
MAKE_ENV+= PERL5=${TOOLS_PERL5:Q}
INSTALL_ENV+= install_prefix=${DESTDIR:Q}
USE_LIBTOOL= yes
DJB_RESTRICTED= NO
DJB_MAKE_TARGETS= NO
DJB_ERRNO_HACK= NO
TEST_TARGET= selftests
DJB_CONFIG_CMDS= \
${ECHO} ${DJB_CONFIG_PREFIX:Q}/include > conf-include; \
${ECHO} ${DJB_CONFIG_PREFIX:Q}/lib > conf-lib;
CFLAGS.SunOS+= -DSOL_TCP=SOL_SOCKET
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"