mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 12:56:28 -04:00
- Fix build on FreeBSD 4
Reported by: krismail
This commit is contained in:
parent
60e8e65ff8
commit
64ba4e38bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171705
1 changed files with 9 additions and 3 deletions
|
@ -15,14 +15,20 @@ MASTER_SITE_SUBDIR= ${PORTNAME:S/-//}
|
|||
MAINTAINER= barner@FreeBSD.org
|
||||
COMMENT= Adaptive Bayesian Junk Mail Filter
|
||||
|
||||
#USE_GPG= yes
|
||||
USE_GETOPT_LONG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CFLAGS+= ${CPPFLAGS}
|
||||
|
||||
MAN1= annoyance-filter.1
|
||||
DOCS= COPYING INSTALL README *.pdf
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
CFLAGS+= -I. ${CPPFLAGS}
|
||||
.else
|
||||
CFLAGS+= ${CPPFLAGS}
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-run ${PREFIX}/bin
|
||||
|
@ -32,4 +38,4 @@ do-install:
|
|||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue