diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 1998-11-07 02:33:51 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 1998-11-07 02:33:51 +0000 |
commit | 17565d52fa62335f77dd3333ddafdc36cc86dee3 (patch) | |
tree | c470a42ad29ee725d6d6fabd4ac2d356be620272 /security/krb5-17 | |
parent | Previous commit for ELF broke a.out. (diff) |
Build and install correctly for a.out and ELF.
Notes
Notes:
svn path=/head/; revision=14377
Diffstat (limited to 'security/krb5-17')
-rw-r--r-- | security/krb5-17/Makefile | 15 | ||||
-rw-r--r-- | security/krb5-17/pkg-plist | 35 |
2 files changed, 35 insertions, 15 deletions
diff --git a/security/krb5-17/Makefile b/security/krb5-17/Makefile index b35ac831039d..e8c16064d25d 100644 --- a/security/krb5-17/Makefile +++ b/security/krb5-17/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> diff --git a/security/krb5-17/pkg-plist b/security/krb5-17/pkg-plist index f8217f7531dd..2f984b9e344a 100644 --- a/security/krb5-17/pkg-plist +++ b/security/krb5-17/pkg-plist @@ -28,29 +28,40 @@ include/mit-sipb-copyright.h include/libpty.h include/krb5.h lib/libcom_err.a -lib/libcom_err.so.1.0 +lib/libcom_err.so +lib/libcom_err.so.1 lib/libpty.a lib/libdyn.a -lib/libdyn.so.1.0 -lib/libcrypto.so.1.0 +lib/libdyn.so +lib/libdyn.so.1 +lib/libcrypto.so +lib/libcrypto.so.1 lib/libcrypto.a -lib/libkrb5.so.1.0 +lib/libkrb5.so +lib/libkrb5.so.1 lib/libkrb5.a lib/libdes425.a -lib/libdes425.so.1.0 -lib/libkrb4.so.1.0 +lib/libdes425.so +lib/libdes425.so.1 +lib/libkrb4.so +lib/libkrb4.so.1 lib/libkrb4.a lib/libkrb5util.a -lib/libkdb5.so.1.0 +lib/libkdb5.so +lib/libkdb5.so.1 lib/libkdb5.a lib/libgssapi_krb5.a -lib/libgssapi_krb5.so.1.0 +lib/libgssapi_krb5.so +lib/libgssapi_krb5.so.1 lib/libgssrpc.a -lib/libgssrpc.so.1.0 +lib/libgssrpc.so +lib/libgssrpc.so.1 lib/libkadm5clnt.a -lib/libkadm5clnt.so.1.0 +lib/libkadm5clnt.so +lib/libkadm5clnt.so.1 lib/libkadm5srv.a -lib/libkadm5srv.so.1.0 +lib/libkadm5srv.so +lib/libkadm5srv.so.1 lib/libkrb524.a @exec /sbin/ldconfig -m %D/lib sbin/krb5-send-pr @@ -86,6 +97,8 @@ share/doc/krb5/krb425.html share/doc/krb5/user-guide_toc.html share/doc/krb5/install.html share/doc/krb5/krb425_toc.html +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R @unexec install-info --delete %D/info/krb425.info %D/info/dir @unexec install-info --delete %D/info/krb5-admin.info %D/info/dir @unexec install-info --delete %D/info/krb5-install.info %D/info/dir |