summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>1999-06-29 01:00:57 +0000
committerNick Sayer <nsayer@FreeBSD.org>1999-06-29 01:00:57 +0000
commita9615ed8548a52a22ec879def897e84a21241774 (patch)
tree7706cc38d3cc14dad43e3094508e9cd306b52e0e /security
parentAdd support to the apache13-php3 port for adding the mcrypt and mhash (diff)
Stealing some fix-ups from ports/devel/mm:
1. post-install ldconfig 2. CONFIGURE_ARGS 3. PLIST ldconfigs
Notes
Notes: svn path=/head/; revision=19891
Diffstat (limited to 'security')
-rw-r--r--security/mhash/Makefile10
-rw-r--r--security/mhash/pkg-plist2
2 files changed, 9 insertions, 3 deletions
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 <bsd.port.mk>
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