SHARED_LIBS and USE_LIBTOOL

This commit is contained in:
steven 2005-12-26 21:34:09 +00:00
parent f15af9dd26
commit 5069daf273
3 changed files with 11 additions and 18 deletions

View File

@ -1,8 +1,14 @@
# $OpenBSD: Makefile,v 1.9 2005/05/16 19:22:16 alek Exp $
# $OpenBSD: Makefile,v 1.10 2005/12/26 21:34:09 steven Exp $
COMMENT= "WMF handling and conversion library"
DISTNAME= libwmf-0.2.8.3
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= wmf 8.0 \
wmflite 7.1
MODGNU_SHARED_LIBS= wmf '-no-undefined -export-dynamic' \
wmflite '-no-undefined -export-dynamic'
CATEGORIES= graphics devel
HOMEPAGE= http://wvware.sf.net/
@ -37,5 +43,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
PKG_CONFIG="/usr/bin/false"
USE_X11= Yes
USE_LIBTOOL= Yes
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-ltmain_sh,v 1.3 2005/05/16 19:22:16 alek Exp $
--- ltmain.sh.orig Sun May 8 01:31:48 2005
+++ ltmain.sh Sun May 8 01:31:58 2005
@@ -2225,7 +2225,7 @@ EOF
{ test "$prefer_static_libs" = no || test -z "$old_library"; }; then
if test "$installed" = no; then
notinst_deplibs="$notinst_deplibs $lib"
- need_relink=yes
+ need_relink=no
fi
# This is a shared library

View File

@ -1,5 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.4 2005/05/16 19:22:16 alek Exp $
@lib lib/libwmf-0.2.so.8.0
@lib lib/libwmf.so.8.0
@lib lib/libwmflite-0.2.so.7.1
@lib lib/libwmflite.so.7.1
@comment $OpenBSD: PFRAG.shared,v 1.5 2005/12/26 21:34:09 steven Exp $
@lib lib/libwmf.so.${LIBwmf_VERSION}
@lib lib/libwmflite.so.${LIBwmflite_VERSION}