diff options
author | smace <smace@FreeBSD.org> | 1998-09-15 06:33:48 +0800 |
---|---|---|
committer | smace <smace@FreeBSD.org> | 1998-09-15 06:33:48 +0800 |
commit | 1b78a4b0b5bfc334bd0e3c5cc2f590f12882fba9 (patch) | |
tree | 1c801cf8fe05282f4f50dea3b13161956ce94ac9 /security/rsaref | |
parent | 48b168c4a3aa444cd2f05905adc7cd77cfeb5eb2 (diff) | |
download | freebsd-ports-gnome-1b78a4b0b5bfc334bd0e3c5cc2f590f12882fba9.tar.gz freebsd-ports-gnome-1b78a4b0b5bfc334bd0e3c5cc2f590f12882fba9.tar.zst freebsd-ports-gnome-1b78a4b0b5bfc334bd0e3c5cc2f590f12882fba9.zip |
Convert to Elf.
Diffstat (limited to 'security/rsaref')
-rw-r--r-- | security/rsaref/Makefile | 9 | ||||
-rw-r--r-- | security/rsaref/files/Makefile | 4 | ||||
-rw-r--r-- | security/rsaref/pkg-plist | 3 |
3 files changed, 10 insertions, 6 deletions
diff --git a/security/rsaref/Makefile b/security/rsaref/Makefile index a03d1dd49a10..aa875a6655b0 100644 --- a/security/rsaref/Makefile +++ b/security/rsaref/Makefile @@ -4,7 +4,7 @@ # Date created: 2 Feb 1997 # Whom: ache # -# $Id: Makefile,v 1.2 1997/02/02 21:25:02 ache Exp $ +# $Id: Makefile,v 1.3 1997/07/17 15:12:58 max Exp $ # PKGNAME= rsaref-2.0 @@ -30,12 +30,15 @@ do-install: ${INSTALL_DATA} rsa.h _des.h _md2.h _md5.h rsaref.h global.h \ ${PREFIX}/include cd ${WRKSRC} && \ - ${INSTALL_DATA} librsaref.a librsaref.so.2.0 \ + ${INSTALL_DATA} librsaref.a librsaref.so.2 \ ${PREFIX}/lib - ${LDCONFIG} -m ${PREFIX}/lib + (cd ${PREFIX}/lib; ln -sf librsaref.so.2 librsaref.so) install -d -m 555 ${PREFIX}/share/doc/rsaref cd ${WRKDIR}/doc && \ ${INSTALL_DATA} info.txt rsaref.txt \ ${PREFIX}/share/doc/rsaref +post-install: + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + .include <bsd.port.mk> diff --git a/security/rsaref/files/Makefile b/security/rsaref/files/Makefile index 1ad713a527d9..ffc2d0f29ac4 100644 --- a/security/rsaref/files/Makefile +++ b/security/rsaref/files/Makefile @@ -8,7 +8,7 @@ LIB= ar ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} RSAREFLIB=librsaref.a -SORSAREFLIB=librsaref.so.2.0 +SORSAREFLIB=librsaref.so.2 all: ${RSAREFLIB} ${SORSAREFLIB} @@ -21,5 +21,5 @@ $(RSAREFLIB) : desc.$(O) digit.$(O) md2c.$(O) md5c.$(O) nn.$(O) prime.$(O)\ $(SORSAREFLIB) : desc.$(SO) digit.$(SO) md2c.$(SO) md5c.$(SO) nn.$(SO) prime.$(SO)\ rsa.$(SO) r_encode.$(SO) r_dh.$(SO) r_enhanc.$(SO) r_keygen.$(SO) r_random.$(SO)\ r_stdlib.$(SO) - ld -Bshareable -x -o $@ $> + ${CC} -o $@ -shared -Wl,-rpath,${PREFIX}/lib -Wl,-soname,$@ $> diff --git a/security/rsaref/pkg-plist b/security/rsaref/pkg-plist index 00a3f6e0d557..0f0fa872674e 100644 --- a/security/rsaref/pkg-plist +++ b/security/rsaref/pkg-plist @@ -1,5 +1,6 @@ lib/librsaref.a -lib/librsaref.so.2.0 +lib/librsaref.so.2 +lib/librsaref.so @exec /sbin/ldconfig -m %B @unexec /sbin/ldconfig -R include/rsa.h |