diff options
author | clement <clement@FreeBSD.org> | 2004-02-21 23:58:31 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-02-21 23:58:31 +0800 |
commit | d402fb925fdb434d471c2dc7a631d0e9d031e51a (patch) | |
tree | f47f0bb4e3e42ed683667abe73dc41c104dd1f9d /net/freewais-sf | |
parent | a358dcb424e03db7a0b13a51d79847dea2d5d94f (diff) | |
download | freebsd-ports-graphics-d402fb925fdb434d471c2dc7a631d0e9d031e51a.tar.gz freebsd-ports-graphics-d402fb925fdb434d471c2dc7a631d0e9d031e51a.tar.zst freebsd-ports-graphics-d402fb925fdb434d471c2dc7a631d0e9d031e51a.zip |
- Fix build on -CURRENT
While I'm here:
- use PORTDOCS
PR: 62847
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
Diffstat (limited to 'net/freewais-sf')
-rw-r--r-- | net/freewais-sf/Makefile | 9 | ||||
-rw-r--r-- | net/freewais-sf/files/patch-ai | 21 | ||||
-rw-r--r-- | net/freewais-sf/pkg-plist | 2 |
3 files changed, 24 insertions, 8 deletions
diff --git a/net/freewais-sf/Makefile b/net/freewais-sf/Makefile index 0139c4059f7..07702d80530 100644 --- a/net/freewais-sf/Makefile +++ b/net/freewais-sf/Makefile @@ -24,23 +24,20 @@ CONFIGURE_ARGS= -sde -Dprefix="${PREFIX}" \ -Darchname="${MACHINE_ARCH}-freebsd" INSTALL_TARGET= install install.man +PORTDOCS= fwsf.ps MAN1= catalog.1 dictionary.1 inverted_file.1 mkfmt.1 waisindex.1 \ waisq.1 waissearch.1 waisserver.1 xwais.1 xwaisq.1 MAN3= ftw.3 regexp.3 scandir.3 .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 500035 -BROKEN= "Does not compile on 5.0" -.endif - post-extract: ${CP} ${FILESDIR}/freebsd.sh ${WRKSRC}/hints post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/SF - ${INSTALL_DATA} ${WRKSRC}/doc/SF/fwsf.ps ${PREFIX}/share/doc/SF + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/SF/${PORTDOCS} ${DOCSDIR} .endif .include <bsd.port.post.mk> diff --git a/net/freewais-sf/files/patch-ai b/net/freewais-sf/files/patch-ai new file mode 100644 index 00000000000..3441fca7ddc --- /dev/null +++ b/net/freewais-sf/files/patch-ai @@ -0,0 +1,21 @@ +--- confmagic.h.orig Sat Feb 14 11:58:57 2004 ++++ confmagic.h Sat Feb 14 11:59:07 2004 +@@ -12,18 +12,6 @@ + #ifndef _confmagic_h_ + #define _confmagic_h_ + +-#ifndef HAS_BCOPY +-#ifndef bcopy +-#define bcopy(s,d,l) memcpy((d),(s),(l)) +-#endif +-#endif +- +-#ifndef HAS_BZERO +-#ifndef bzero +-#define bzero(s,l) memset((s),0,(l)) +-#endif +-#endif +- + #ifndef HAS_INDEX + #ifndef index + #define index strchr diff --git a/net/freewais-sf/pkg-plist b/net/freewais-sf/pkg-plist index 6641df49b06..8bcd07d133d 100644 --- a/net/freewais-sf/pkg-plist +++ b/net/freewais-sf/pkg-plist @@ -24,8 +24,6 @@ bin/ws include/freeWAIS-sf/wais.h lib/freeWAIS-sf/emacs/lisp/wais.el lib/freeWAIS-sf/libwais.a -%%PORTDOCS%%share/doc/SF/fwsf.ps -%%PORTDOCS%%@dirrm share/doc/SF @dirrm lib/freeWAIS-sf/emacs/lisp @dirrm lib/freeWAIS-sf/emacs @dirrm lib/freeWAIS-sf |