pkgsrc/sysutils/estd/Makefile
khorben 65f113ceee Add support for LDFLAGS
This notably fixes building with RELRO enabled.
2017-10-25 21:32:35 +00:00

35 lines
986 B
Makefile

# $NetBSD: Makefile,v 1.30 2017/10/25 21:38:52 khorben Exp $
DISTNAME= estd-r11
PKGNAME= estd-0.11
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.ecademix.com/JohannesHofmann/
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://www.ecademix.com/JohannesHofmann/estd.html
COMMENT= Dynamically sets the CPU-frequency on SpeedStep and PowerNow CPUs
LICENSE= 2-clause-bsd
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
INSTALLATION_DIRS= share/examples/rc.d
ONLY_FOR_PLATFORM= NetBSD-2.99.*-i386 NetBSD-[3-9]*-i386 \
NetBSD-[4-9]*-x86_64 DragonFly-*-i386 \
NetBSD-5.99.*-powerpc \
NetBSD-5.99.*-mips64el \
NetBSD-[7-9]*-earm* NetBSD-[7-9]*-arm*
RCD_SCRIPTS= estd
RCD_SCRIPT_SRC.estd= ${WRKSRC}/estd.sh
SUBST_CLASSES+= rcd
SUBST_STAGE.rcd= do-configure
SUBST_MESSAGE.rcd= Fixing startup script.
SUBST_FILES.rcd= estd.sh
SUBST_SED.rcd= -e 's|@PREFIX@|${PREFIX}|'
SUBST_SED.rcd+= -e 's|@ECHO@|${ECHO}|'
.include "../../mk/bsd.pkg.mk"