add SEPARATE_BUILD, fixup Makefile

This commit is contained in:
brad 1999-03-22 04:23:10 +00:00
parent 11abf5c0c2
commit e4ef9a37b2
4 changed files with 58 additions and 16 deletions

View File

@ -1,21 +1,23 @@
# $OpenBSD: Makefile,v 1.1.1.1 1999/03/14 15:36:20 rohee Exp $
# $OpenBSD: Makefile,v 1.2 1999/03/22 04:23:10 brad Exp $
DISTNAME = audiofile-0.1.6
PKGNAME = lib${DISTNAME}
CATEGORIES = audio
DISTNAME= audiofile-0.1.6
PKGNAME= lib${DISTNAME}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= gnome-1.0/sources
MAINTAINER = rohee@OpenBSD.ORG
NEED_VERSION= 1.73
MASTER_SITES = ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= gnome-1.0/sources
MAINTAINER= rohee@OpenBSD.ORG
NEED_VERSION = 1.78
GNU_CONFIGURE = yes
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
BUILD_SEPARATE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
post-install:
@${MKDIR} ${LOCALBASE}/share/aclocal/
@${INSTALL_DATA} ${WRKSRC}/audiofile.m4 ${LOCALBASE}/share/aclocal/
${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>

View File

@ -0,0 +1,43 @@
--- ltmain.sh.orig Sun Mar 21 22:32:15 1999
+++ ltmain.sh Sun Mar 21 22:34:46 1999
@@ -2806,40 +2806,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

@ -11,6 +11,3 @@ files of many common formats (currently AIFF, AIFC, WAVE, and
NeXT/Sun).
http://www.68k.org./~michael/audiofile/
-Vanilla
vanilla@FreeBSD.ORG

View File

@ -7,4 +7,4 @@ lib/libaudiofile.a
share/aclocal/audiofile.m4
include/audiofile.h
include/aupvlist.h
@exec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m /usr/local/lib
@exec /sbin/ldconfig -m %B