SHARED_LIBS

USE_LIBTOOL where applicable
This commit is contained in:
sturm 2005-12-24 22:32:53 +00:00
parent 83710cfd2b
commit 13b84b5f49
11 changed files with 51 additions and 70 deletions

View File

@ -1,9 +1,15 @@
# $OpenBSD: Makefile,v 1.16 2005/11/26 10:03:13 sturm Exp $
# $OpenBSD: Makefile,v 1.17 2005/12/24 22:32:53 sturm Exp $
COMMENT= "GnuPG Made Easy"
DISTNAME= gpgme-1.1.0
PKGNAME= ${DISTNAME}p0
CATEGORIES= security devel
SHARED_LIBS= gpgme-pthread 16.0 \
gpgme 16.0
MODGNU_SHARED_LIBS= gpgme-pthread '' \
gpgme ''
LIBgpgme-pthread_ALIAS= gpgme_pthread
HOMEPAGE= http://www.gnupg.org/gpgme.html
@ -24,4 +30,6 @@ RUN_DEPENDS= :gnupg->=1.4.*:security/gnupg
BUILD_DEPENDS= ${RUN_DEPENDS}
LIB_DEPENDS= gpg-error::security/libgpg-error
USE_LIBTOOL= Yes
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.9 2005/11/26 10:03:13 sturm Exp $
@lib lib/libgpgme-pthread.so.16.0
@lib lib/libgpgme.so.16.0
@comment $OpenBSD: PFRAG.shared,v 1.10 2005/12/24 22:32:53 sturm Exp $
@lib lib/libgpgme-pthread.so.${LIBgpgme-pthread_VERSION}
@lib lib/libgpgme.so.${LIBgpgme_VERSION}

View File

@ -1,8 +1,10 @@
@comment $OpenBSD: PLIST,v 1.4 2005/02/14 22:14:25 couderc Exp $
@comment $OpenBSD: PLIST,v 1.5 2005/12/24 22:32:53 sturm Exp $
bin/gpgme-config
include/gpgme.h
@info info/gpgme.info
lib/libgpgme-pthread.a
lib/libgpgme-pthread.la
lib/libgpgme.a
lib/libgpgme.la
share/aclocal/gpgme.m4
%%SHARED%%

View File

@ -1,10 +1,13 @@
# $OpenBSD: Makefile,v 1.8 2005/01/26 16:41:04 naddy Exp $
# $OpenBSD: Makefile,v 1.9 2005/12/24 22:32:53 sturm Exp $
COMMENT= "crypto library based on code used in GnuPG"
VERSION= 1.2.0
DISTNAME= libgcrypt-${VERSION}
PKGNAME= ${DISTNAME}p0
CATEGORIES= security
SHARED_LIBS= gcrypt 12.1
MODGNU_SHARED_LIBS= gcrypt ''
HOMEPAGE= http://www.gnu.org/directory/security/libgcrypt.html
@ -24,6 +27,8 @@ MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgcrypt/ \
LIB_DEPENDS= gpg-error::security/libgpg-error
USE_LIBTOOL= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu

View File

@ -1,55 +0,0 @@
$OpenBSD: patch-ltmain_sh,v 1.1 2004/05/08 06:41:47 sturm Exp $
--- ltmain.sh.orig 2004-05-07 19:10:06.000000000 +0200
+++ ltmain.sh 2004-05-07 19:10:24.000000000 +0200
@@ -2274,10 +2274,6 @@ EOF
link_static=no # Whether the deplib will be linked statically
if test -n "$library_names" &&
{ test "$prefer_static_libs" = no || test -z "$old_library"; }; then
- if test "$installed" = no; then
- notinst_deplibs="$notinst_deplibs $lib"
- need_relink=yes
- fi
# This is a shared library
# Warn about portability, can't link against -module's on
@@ -5827,40 +5823,6 @@ relink_command=\"$relink_command\""
# Exit here if they wanted silent mode.
test "$show" = : && exit $EXIT_SUCCESS
- $echo "----------------------------------------------------------------------"
- $echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- $echo " $libdir"
- done
- $echo
- $echo "If you ever happen to want to link against installed libraries"
- $echo "in a given directory, LIBDIR, you must either use libtool, and"
- $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- $echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- $echo " during execution"
- fi
- if test -n "$runpath_var"; then
- $echo " - add LIBDIR to the \`$runpath_var' environment variable"
- $echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- $echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- $echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- $echo
- $echo "See any operating system documentation about shared libraries for"
- $echo "more information, such as the ld(1) and ld.so(8) manual pages."
- $echo "----------------------------------------------------------------------"
exit $EXIT_SUCCESS
;;

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2004/09/15 18:36:00 espie Exp $
@lib lib/libgcrypt.so.12.1
@comment $OpenBSD: PFRAG.shared,v 1.4 2005/12/24 22:32:53 sturm Exp $
@lib lib/libgcrypt.so.${LIBgcrypt_VERSION}

View File

@ -1,9 +1,12 @@
# $OpenBSD: Makefile,v 1.4 2005/12/04 17:21:09 sturm Exp $
# $OpenBSD: Makefile,v 1.5 2005/12/24 22:32:53 sturm Exp $
COMMENT= "error codes for GnuPG related software"
DISTNAME= libgpg-error-1.1
CATEGORIES= security devel
SHARED_LIBS= gpg-error 1.4
MODGNU_SHARED_LIBS=gpg-error ''
LIBgpg-error_ALIAS=gpg_error
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/04 17:21:09 sturm Exp $
@lib lib/libgpg-error.so.1.4
@comment $OpenBSD: PFRAG.shared,v 1.4 2005/12/24 22:32:53 sturm Exp $
@lib lib/libgpg-error.so.${LIBgpg-error_VERSION}

View File

@ -1,10 +1,13 @@
# $OpenBSD: Makefile,v 1.16 2004/11/14 13:53:00 espie Exp $
# $OpenBSD: Makefile,v 1.17 2005/12/24 22:32:53 sturm Exp $
COMMENT= "interface to access block/stream encryption algorithms"
DISTNAME= libmcrypt-2.5.7
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= security
SHARED_LIBS= mcrypt 8.7
MODGNU_SHARED_LIBS=mcrypt ''
LIBmcrypt_ALIAS=realmcrypt
HOMEPAGE= http://mcrypt.sf.net/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
@ -18,6 +21,8 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-lib_Makefile_in,v 1.1 2005/12/24 22:32:53 sturm Exp $
--- lib/Makefile.in.orig Sat Dec 24 23:05:02 2005
+++ lib/Makefile.in Sat Dec 24 23:05:21 2005
@@ -157,8 +157,7 @@ libmcrypt_la_SOURCES = mcrypt_extra.c mc
libmcrypt_la_LDFLAGS = \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ ${librealmcrypt_la_LDFLAGS} \
-export-symbols libmcrypt.sym @LIBLTDL@
libmcrypt_la_LIBADD = @EXTRA_OBJECTS@

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.8 2004/10/20 18:27:38 avsm Exp $
@lib lib/libmcrypt.so.8.7
@comment $OpenBSD: PFRAG.shared,v 1.9 2005/12/24 22:32:53 sturm Exp $
@lib lib/libmcrypt.so.${LIBmcrypt_VERSION}