mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Remove the useless and deprecated usage of -I-
This fixes build on current While here: - Trim headers - Convert options
This commit is contained in:
parent
0cb6d71751
commit
ea12dedd8a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318972
1 changed files with 6 additions and 7 deletions
|
@ -1,9 +1,5 @@
|
|||
# New ports collection makefile for: fdm
|
||||
# Date created: 25 August 2006
|
||||
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||
#
|
||||
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= fdm
|
||||
PORTVERSION= 1.6
|
||||
|
@ -25,17 +21,20 @@ MAKE_ARGS= -DPCRE -DDB
|
|||
MAN1= fdm.1
|
||||
MAN5= fdm.conf.5
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[ch15]
|
||||
@${REINPLACE_CMD} -e 's|/usr/local/include/openssl|/usr/include/openssl|;\
|
||||
s|-I-||g;\
|
||||
s|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${MAKEFILE}
|
||||
|
||||
post-install:
|
||||
.ifndef NOPORTEXAMPLES
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${INSTALL} -d ${EXAMPLESDIR}/
|
||||
@${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}/
|
||||
.endif
|
||||
.ifndef NOPORTDOCS
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${INSTALL} -d ${DOCSDIR}/
|
||||
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
|
||||
.endif
|
||||
|
|
Loading…
Add table
Reference in a new issue