summaryrefslogtreecommitdiff
path: root/security/krb5/Makefile
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2015-02-05 03:39:14 +0000
committerCy Schubert <cy@FreeBSD.org>2015-02-05 03:39:14 +0000
commitb896d782ddb95a64e02c2ef992e7b0e55c256af7 (patch)
treec6cb353b7057ee5ed1b55fea1c0d466a96501dee /security/krb5/Makefile
parent. Attempt to fix the build on 8.x amd64 by telling the HotSpot compilation (diff)
Correct various packaging issues:
- Libraries are not installed stripped; - pkgconfig files should be installed to libdata; - Use of deprecated @dirrm[try] PR: PR/197338 Submitted by: delphij
Notes
Notes: svn path=/head/; revision=378441
Diffstat (limited to 'security/krb5/Makefile')
-rw-r--r--security/krb5/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index 5d19e3ffd7e9..d3ffd759494d 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -8,10 +8,10 @@ CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-signed
EXTRACT_SUFX= .tar
-PATCHFILES= 2015-001-patch-r113.txt
PATCH_SITES= http://web.mit.edu/kerberos/advisories/
PATCH_DIST_STRIP= -p2
+PATCHFILES= 2015-001-patch-r113.txt
MAINTAINER= cy@FreeBSD.org
COMMENT= Authentication system developed at MIT, successor to Kerberos IV
@@ -29,8 +29,8 @@ USE_CSTD= gnu99
GNU_CONFIGURE= yes
USES= gettext gmake perl5 libtool:build
CONFIGURE_ARGS?= --enable-shared --without-system-verto
-CONFIGURE_ENV= INSTALL="${INSTALL}" YACC="${YACC}"
-MAKE_ARGS= INSTALL="${INSTALL}"
+CONFIGURE_ENV= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}"
+MAKE_ARGS= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}"
OPTIONS_DEFINE= KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP READLINE
OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML
@@ -71,8 +71,8 @@ PLIST_SUB+= LDAP="@comment "
.if ${PORT_OPTIONS:MREADLINE}
.if ${OSVERSION} >= 1100000
# libtool has some gas with libreadline in 11-CURRENT.
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.6:${PORTSDIR}/devel/readline
-LIB_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.6:${PORTSDIR}/devel/readline
+BUILD_DEPENDS+= libreadline.so:${PORTSDIR}/devel/readline
+LIB_DEPENDS+= libreadline.so:${PORTSDIR}/devel/readline
.else
USES+= readline:port
.endif
@@ -123,15 +123,15 @@ post-install:
.endif
.if ${PORT_OPTIONS:MKRB5_PDF}
for i in $${pdf_dirs}; do \
- ${ECHO_CMD} @dirrm share/doc/krb5/$${i} >> ${TMPPLIST}; \
+ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \
done | ${TAIL} -r >> ${TMPPLIST}
.endif
.if ${PORT_OPTIONS:MKRB5_HTML}
for i in $${html_dirs}; do \
- ${ECHO_CMD} @dirrm share/doc/krb5/$${i} >> ${TMPPLIST}; \
+ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \
done | ${TAIL} -r >> ${TMPPLIST}
.endif
- ${ECHO_CMD} @dirrm share/doc/krb5 >> ${TMPPLIST}
+ ${ECHO_CMD} @dir share/doc/krb5 >> ${TMPPLIST}
@${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD
@${CHMOD} 444 ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD
@${ECHO} "------------------------------------------------------"