diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-09-01 09:24:45 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-09-01 09:24:45 +0000 |
commit | 5d8569dd0a8c72eb0f3a6aed2766e6bcfcb1c80f (patch) | |
tree | a38e62910c8e3fbc5b0e409ef5f03d3961cec9a1 /sysutils/scalpel/Makefile | |
parent | 0299bb02ffb1106a48739c6ae240597fcd28e02f (diff) | |
download | ports-5d8569dd0a8c72eb0f3a6aed2766e6bcfcb1c80f.tar.gz ports-5d8569dd0a8c72eb0f3a6aed2766e6bcfcb1c80f.zip |
Notes
Diffstat (limited to 'sysutils/scalpel/Makefile')
-rw-r--r-- | sysutils/scalpel/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sysutils/scalpel/Makefile b/sysutils/scalpel/Makefile index 60a624f4b7b3..aee16eb85990 100644 --- a/sysutils/scalpel/Makefile +++ b/sysutils/scalpel/Makefile @@ -14,19 +14,18 @@ LICENSE= GPLv2 LIB_DEPENDS= libtre.so:textproc/libtre -USES= alias +USES= alias localbase GNU_CONFIGURE= yes SUB_FILES= pkg-message PLIST_FILES= etc/scalpel.conf.sample bin/scalpel man/man1/scalpel.1.gz -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - post-patch: @${REINPLACE_CMD} -e \ 's/#ifdef __APPLE__/#if defined(__APPLE__) || defined(__FreeBSD__)/' \ ${WRKSRC}/src/scalpel.h + @${REINPLACE_CMD} -e 's,__progname,__${PORTNAME}&,' \ + ${WRKSRC}/src/scalpel.? ${WRKSRC}/src/helpers.c post-install: @${CP} -p ${WRKSRC}/scalpel.conf ${STAGEDIR}${PREFIX}/etc/scalpel.conf.sample |