mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Make portlint happy (remove space at EOL)
- Remove useless .la files - Make REINPLACE_CMD invocation a bit more readable (at least IMO) PR: ports/47524 Submitted by: Sergei Kolobov <sergei@kolobov.com> (maintainer)
This commit is contained in:
parent
a9d20dd86e
commit
eb4cdb39e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74181
@ -27,10 +27,12 @@ USE_REINPLACE= yes
|
||||
DOCS= AUTHORS NEWS README THANKS
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,#include <malloc.h>,#include<stdlib.h>,' \
|
||||
${WRKSRC}/src/encrypt.c ${WRKSRC}/src/main.c
|
||||
.for file in encrypt.c main.c
|
||||
${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${file}
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
${RM} -f ${PREFIX}/lib/libopencdk.la
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}
|
||||
|
@ -2,7 +2,6 @@ bin/opencdk-config
|
||||
include/opencdk.h
|
||||
lib/libopencdk.so.5
|
||||
lib/libopencdk.so
|
||||
lib/libopencdk.la
|
||||
lib/libopencdk.a
|
||||
%%PORTDOCS%%share/doc/opencdk/AUTHORS
|
||||
%%PORTDOCS%%share/doc/opencdk/NEWS
|
||||
|
Loading…
Reference in New Issue
Block a user