summaryrefslogtreecommitdiff
path: root/security/krb5/Makefile
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>1998-11-07 02:33:51 +0000
committerJacques Vidrine <nectar@FreeBSD.org>1998-11-07 02:33:51 +0000
commit17565d52fa62335f77dd3333ddafdc36cc86dee3 (patch)
treec470a42ad29ee725d6d6fabd4ac2d356be620272 /security/krb5/Makefile
parentPrevious commit for ELF broke a.out. (diff)
Build and install correctly for a.out and ELF.
Diffstat (limited to 'security/krb5/Makefile')
-rw-r--r--security/krb5/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index b35ac831039d..e8c16064d25d 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -3,7 +3,7 @@
# Date created: 6/5/1998
# Whom: n@nectar.com
#
-# $Id: Makefile,v 1.5 1998/09/14 19:23:42 markm Exp $
+# $Id: Makefile,v 1.6 1998/09/27 11:34:28 markm Exp $
#
DISTNAME= krb5-1.0.5
@@ -154,8 +154,8 @@ do-fetch:
pre-configure: ${RECONF_COOKIE}
${RECONF_COOKIE}:
- @(cd ${WRKSRC}/util/autoconf && ./configure && gmake)
- @(cd ${WRKSRC} && ./util/reconf --force)
+ ${SETENV} PORTOBJFORMAT="${PORTOBJFORMAT}" \
+ ${SH} -c 'cd ${WRKSRC}/util/autoconf && ./configure && ${GMAKE} && cd ${WRKSRC} && ./util/reconf --force'
${TOUCH} ${RECONF_COOKIE}
post-build:
@@ -168,7 +168,7 @@ post-install:
# it, I think.
@rm -f ${PREFIX}/man/man1/tmac.doc
# shared libs
- ${LDCONFIG} -m ${PREFIX}/lib
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
# html documentation
.if defined(WANT_HTML) && ${WANT_HTML} == "YES"
@${MKDIR} ${PREFIX}/share/doc/krb5
@@ -191,5 +191,12 @@ post-install:
.for info in ${INFO_FILES:M*.info}
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor
+# fixup packing list (no libs without version numbers in aout case)
+ @if test "${PORTOBJFORMAT}" = "aout"; then \
+ ${ECHO_MSG} "Fixing packing list for a.out"; \
+ ${MV} ${TMPPLIST} ${TMPPLIST}.new; \
+ ${GREP} -v '\.so$$' ${TMPPLIST}.new > ${TMPPLIST}; \
+ ${RM} ${TMPPLIST}.new; \
+ fi
.include <bsd.port.mk>