Import of libdockapp-0.4.0.

Submitted by Peter Stromberg <home@wilfried.net>.

DockApp Making Standard Library.
This commit is contained in:
naddy 2001-01-04 00:52:35 +00:00
parent 3e3e1dc069
commit dcb1283ac6
8 changed files with 143 additions and 0 deletions

25
devel/libdockapp/Makefile Normal file
View File

@ -0,0 +1,25 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/01/04 00:52:35 naddy Exp $
DISTNAME= libdockapp-0.4.0
CATEGORIES= devel
NEED_VERSION= 1.336
MASTER_SITES= ftp://shadowmere.student.utwente.nl/pub/WindowMaker/
MAINTAINER= Peter Stromberg <home@wilfried.net>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ARGS= --enable-static
SEPARATE_BUILD= concurrent
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libdockapp
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/libdockapp
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (libdockapp-0.4.0.tar.gz) = 6b22fbfce5e6d21ecf7dcf63db91dcaa
RMD160 (libdockapp-0.4.0.tar.gz) = 90db7c0ca2f4320595049caeed84394eb42be4f0
SHA1 (libdockapp-0.4.0.tar.gz) = 796b2791e779eed04ff9de2865633d43d728a607

View File

@ -0,0 +1,49 @@
$OpenBSD: patch-ltconfig,v 1.1.1.1 2001/01/04 00:52:35 naddy Exp $
--- ltconfig.orig Thu Dec 30 12:37:48 1999
+++ ltconfig Thu Dec 21 10:01:21 2000
@@ -1061,6 +1061,9 @@
with_gnu_ld=no
fi
;;
+openbsd*)
+ with_gnu_ld=no
+ ;;
esac
@@ -1317,10 +1320,18 @@
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
- hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ case "$host_os" in
+ openbsd2.[01234567])
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ ;;
+ esac
;;
os2*)
@@ -1857,13 +1868,10 @@
openbsd*)
version_type=sunos
- if test "$with_gnu_ld" = yes; then
- need_lib_prefix=no
- need_version=no
- fi
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
+ deplibs_check_method='pass_all'
;;
os2*)

View File

@ -0,0 +1,54 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2001/01/04 00:52:35 naddy Exp $
--- ltmain.sh.orig Thu Dec 30 12:37:48 1999
+++ ltmain.sh Thu Dec 21 10:02:54 2000
@@ -1763,6 +1763,9 @@
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
# these systems don't actually have a c library (as such)!
;;
+ *-*-openbsd*)
+ # do not include libc due to us having libc/libc_r.
+ ;;
*)
# Add libc to deplibs on all other systems.
deplibs="$deplibs -lc"
@@ -3437,40 +3440,6 @@
# Exit here if they wanted silent mode.
test "$show" = : && exit 0
- 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 \`-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 0
;;

View File

@ -0,0 +1 @@
dockapp making standard library

View File

@ -0,0 +1 @@
DockApp Making Standard Library.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/01/04 00:52:35 naddy Exp $
lib/libdockapp.so.1.0
DYNLIBDIR(%B)

View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/04 00:52:35 naddy Exp $
include/dockapp.h
lib/libdockapp.a
lib/libdockapp.la
share/doc/libdockapp/COPYING
%%SHARED%%
@dirrm share/doc/libdockapp