3ef633718c
Makefiles simply need to use this value often, for better or for worse. (2) Create a new variable FIX_RPATH that lists variables that should be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and additional variables may be appended from package Makefiles.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.20 2003/03/14 19:37:52 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= coda-4.6.6
|
|
PKGNAME= coda-client-4.6.6.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.infonoc.ne.jp/pub/coda/src/old/ \
|
|
ftp://ftp.rsu.ru/pub/unix/FileSystems/coda/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= rvb@cs.cmu.edu
|
|
HOMEPAGE= http://www.coda.cs.cmu.edu/
|
|
COMMENT= client programs for a replicated high-performance network file system
|
|
|
|
DEPENDS+= gdbm>=1.8.3:../../databases/gdbm
|
|
DEPENDS+= readline>=4.0:../../devel/readline
|
|
|
|
# Requires "lwp" plus "filesystem CODA" to operate. Should build on
|
|
# any NetBSD-*-m68k, though.
|
|
ONLY_FOR_PLATFORM= NetBSD-1.[45]*-i386 NetBSD-1.[45]*-m68k
|
|
|
|
ALL_TARGET= coda
|
|
INSTALL_TARGET= client-install
|
|
|
|
USE_PERL5= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
|
|
FIX_RPATH+= GDBM_LDADD
|
|
GDBM_LDADD= -Wl,${RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib -lgdbm
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && \
|
|
for F in coda-src/advice/Makefile.in; do \
|
|
${SED} -e "s_-lgdbm_${GDBM_LDADD}_" \
|
|
< $$F > $$F.patched && \
|
|
${MV} $$F.patched $$F; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|