SHARED_LIBS, USE_LIBTOOL

This commit is contained in:
naddy 2005-12-31 16:33:45 +00:00
parent 67178f8451
commit 334a741989
9 changed files with 24 additions and 79 deletions

View File

@ -1,10 +1,12 @@
# $OpenBSD: Makefile,v 1.5 2005/08/17 16:10:05 espie Exp $
# $OpenBSD: Makefile,v 1.6 2005/12/31 16:33:45 naddy Exp $
COMMENT= "modern look Athena widgets"
VERSION= 1.5
DISTNAME= XawM-${VERSION}u
PKGNAME= XawMu-${VERSION}p0
PKGNAME= XawMu-${VERSION}p1
SHARED_LIBS= XawM 1.0
MODGNU_SHARED_LIBS= XawM ''
CATEGORIES= x11 devel
HOMEPAGE= http://xawm.sourceforge.net/
@ -19,6 +21,7 @@ PERMIT_DISTFILES_FTP= Yes
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-configure,v 1.1.1.1 2003/02/03 03:19:37 margarida Exp $
--- configure.orig Sun Feb 2 18:45:53 2003
+++ configure Sun Feb 2 18:46:25 2003
@@ -4771,7 +4771,7 @@ else
hardcode_direct=yes
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
export_dynamic_flag_spec='${wl}-E'
else
@@ -4781,7 +4781,7 @@ else
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2004/09/15 19:26:27 espie Exp $
@lib lib/libXawM.so.1.0
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/31 16:33:45 naddy Exp $
@lib lib/libXawM.so.${LIBXawM_VERSION}

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.3 2005/02/07 19:01:50 pvalchev Exp $
# $OpenBSD: Makefile,v 1.4 2005/12/31 16:33:45 naddy Exp $
COMMENT= "widgets library"
VERSION= 0.2.2
DISTNAME= Mowitz-${VERSION}
PKGNAME= ${DISTNAME:L}
DISTNAME= Mowitz-0.2.2
PKGNAME= ${DISTNAME:L}p0
SHARED_LIBS= Mowitz 2.2
MODGNU_SHARED_LIBS= Mowitz ''
CATEGORIES= x11 devel
HOMEPAGE= http://siag.nu/mowitz/
@ -22,6 +23,7 @@ USE_X11= Yes
LIB_DEPENDS= XawM.1::x11/XawMu
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-configure,v 1.1.1.1 2003/02/03 03:30:12 margarida Exp $
--- configure.orig Sun Feb 2 19:31:54 2003
+++ configure Sun Feb 2 19:33:08 2003
@@ -5676,7 +5676,7 @@ else
hardcode_direct=yes
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
export_dynamic_flag_spec='${wl}-E'
else
@@ -5686,7 +5686,7 @@ else
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2004/09/15 19:26:30 espie Exp $
@lib lib/libMowitz.so.2.2
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/31 16:33:45 naddy Exp $
@lib lib/libMowitz.so.${LIBMowitz_VERSION}

View File

@ -1,9 +1,11 @@
# $OpenBSD: Makefile,v 1.5 2005/02/07 19:01:50 pvalchev Exp $
# $OpenBSD: Makefile,v 1.6 2005/12/31 16:33:45 naddy Exp $
COMMENT= "libXaw widget set replacement"
VERSION= 0.14.0
DISTNAME= neXtaw-${VERSION}
DISTNAME= neXtaw-0.14.0
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= neXtaw 14.0
MODGNU_SHARED_LIBS= neXtaw ''
CATEGORIES= x11 devel
HOMEPAGE= http://siag.nu/neXtaw/
@ -18,8 +20,9 @@ PERMIT_DISTFILES_FTP= Yes
WANTLIB= Xext Xmu
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include"
NO_REGRESS= Yes

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-configure,v 1.1.1.1 2003/02/03 03:23:52 margarida Exp $
--- configure.orig Sun Feb 2 19:50:43 2003
+++ configure Sun Feb 2 19:51:22 2003
@@ -5672,7 +5672,7 @@ else
hardcode_direct=yes
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
export_dynamic_flag_spec='${wl}-E'
else
@@ -5682,7 +5682,7 @@ else
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2004/09/15 19:26:30 espie Exp $
@lib lib/libneXtaw.so.14.0
@comment $OpenBSD: PFRAG.shared,v 1.4 2005/12/31 16:33:45 naddy Exp $
@lib lib/libneXtaw.so.${LIBneXtaw_VERSION}