From a9615ed8548a52a22ec879def897e84a21241774 Mon Sep 17 00:00:00 2001 From: Nick Sayer Date: Tue, 29 Jun 1999 01:00:57 +0000 Subject: Stealing some fix-ups from ports/devel/mm: 1. post-install ldconfig 2. CONFIGURE_ARGS 3. PLIST ldconfigs --- security/mhash/Makefile | 10 +++++++--- security/mhash/pkg-plist | 2 ++ 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'security') diff --git a/security/mhash/Makefile b/security/mhash/Makefile index 5395884f375e..b6cc09a47ba8 100644 --- a/security/mhash/Makefile +++ b/security/mhash/Makefile @@ -1,9 +1,9 @@ # New ports collection makefile for: mhash -# Version required: 5.0 -# Date created: Mon Jan 11 11:53:54 EET 1999 +# Version required: 0.5.0 +# Date created: Mon Jun 28 17:59:13 PDT 1999 # Whom: nsayer@freebsd.org # -# $Id:$ +# $Id: Makefile,v 1.1.1.1 1999/06/28 22:37:58 nsayer Exp $ # DISTNAME= mhash-0.5.0 @@ -13,9 +13,13 @@ MASTER_SITES= http://sasweb.de/mhash/data/ MAINTAINER= nsayer@freebsd.org GNU_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} MAN3= mhash.3 RESTRICTED= "yes - cryptography" +post-install: + @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + .include diff --git a/security/mhash/pkg-plist b/security/mhash/pkg-plist index 50a9674933b5..77560d065e21 100644 --- a/security/mhash/pkg-plist +++ b/security/mhash/pkg-plist @@ -3,3 +3,5 @@ lib/libmhash.so.1 lib/libmhash.so lib/libmhash.a include/mhash.h +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B -- cgit v1.2.3