pkgsrc/devel/libxtend/Makefile
bacon 185e2a3102 devel/libxtend: Update to 0.1.2.28
Add LDFLAGS to allow RELRO
2021-06-15 13:43:55 +00:00

27 lines
623 B
Makefile

# $NetBSD: Makefile,v 1.3 2021/06/15 13:43:55 bacon Exp $
DISTNAME= libxtend-0.1.2.28
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=outpaddling/}
GITHUB_TAG= 5ab848a76cc6673f7768d5cf5c517492f9c8da8e
MAINTAINER= bacon@NetBSD.org
HOMEPAGE= https://github.com/outpaddling/libxtendc
COMMENT= Miscellaneous functions to extend libc
LICENSE= 2-clause-bsd
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == Darwin
BUILD_TARGET= apple
INSTALL_TARGET= apple-install
.else
INSTALL_TARGET= install-strip
.endif
MAKE_ENV+= DYLIB_PATH=${PREFIX}/lib
pre-build:
cd ${WRKSRC} && ${MAKE} depend
.include "../../mk/bsd.pkg.mk"