summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>1999-06-29 01:03:51 +0000
committerNick Sayer <nsayer@FreeBSD.org>1999-06-29 01:03:51 +0000
commit34a83a6a2f4807f69ddb2a4fbaae435848d33e2c (patch)
tree694e9750840c57784b07bf09322724d40643d315 /security
parentStealing some fix-ups from ports/devel/mm: (diff)
Stealing some good ideas from ports/devel/mm:
1. postinstall ldconfig 2. pkg/PLIST ldconfigs 3. CONFIGURE_ARGS
Notes
Notes: svn path=/head/; revision=19892
Diffstat (limited to 'security')
-rw-r--r--security/libmcrypt/Makefile8
-rw-r--r--security/libmcrypt/pkg-plist2
2 files changed, 8 insertions, 2 deletions
diff --git a/security/libmcrypt/Makefile b/security/libmcrypt/Makefile
index 704a1c22dbf6..25dd8df29cd6 100644
--- a/security/libmcrypt/Makefile
+++ b/security/libmcrypt/Makefile
@@ -1,9 +1,9 @@
# New ports collection makefile for: mcrypt
# Version required: 2.2
-# Date created: Mon Jan 11 11:53:54 EET 1999
+# Date created: Mon Jun 28 18:02:04 PDT 1999
# Whom: nsayer@freebsd.org
#
-# $Id:$
+# $Id: Makefile,v 1.1.1.1 1999/06/28 22:54:48 nsayer Exp $
#
DISTNAME= libmcrypt-2.2
@@ -13,9 +13,13 @@ MASTER_SITES= ftp://argeas.cs-net.gr/pub/unix/mcrypt/
MAINTAINER= nsayer@freebsd.org
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
MAN3= mcrypt.3
RESTRICTED= "yes - cryptography"
+post-install:
+ @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
.include <bsd.port.mk>
diff --git a/security/libmcrypt/pkg-plist b/security/libmcrypt/pkg-plist
index 5b4f37f904c8..4bd7dcdecd45 100644
--- a/security/libmcrypt/pkg-plist
+++ b/security/libmcrypt/pkg-plist
@@ -3,3 +3,5 @@ lib/libmcrypt.la
lib/libmcrypt.so
lib/libmcrypt.so.2
include/mcrypt.h
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B