SHARED_LIBS

ok sturm@
This commit is contained in:
steven 2005-12-26 13:16:16 +00:00
parent bc8b5cc1eb
commit 1274494d7c
10 changed files with 46 additions and 24 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.31 2005/08/17 16:10:03 espie Exp $
# $OpenBSD: Makefile,v 1.32 2005/12/26 13:16:16 steven Exp $
COMMENT= "University of Washington's c-client mail access routines"
NO_REGRESS= Yes
@ -6,6 +6,7 @@ NO_REGRESS= Yes
VERSION= 4.61
DISTNAME= pine${VERSION}
PKGNAME= c-client-${VERSION}p0
SHARED_LIBS= c-client 4.0
CATEGORIES= mail devel
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
ftp://ftp.sunet.se/pub/unix/mail/pine/
@ -22,8 +23,7 @@ PERMIT_DISTFILES_FTP= Yes
FLAVORS= kerberos
FLAVOR?=
SHLIB= libc-client.so.4.0
SUBST_VARS= SHLIB
SHLIB= libc-client.so.${LIBc-client_VERSION}
MAKE_FLAGS= EXTRACFLAGS="${CFLAGS}" SHLIB="${SHLIB}" \
SSLTYPE="unix" CC="${CC}"

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2004/09/15 09:09:41 espie Exp $
@lib lib/${SHLIB}
@comment $OpenBSD: PFRAG.shared,v 1.4 2005/12/26 13:16:16 steven Exp $
@lib lib/libc-client.so.${LIBc-client_VERSION}

View File

@ -1,9 +1,12 @@
# $OpenBSD: Makefile,v 1.6 2005/11/30 08:33:16 jakob Exp $
# $OpenBSD: Makefile,v 1.7 2005/12/26 13:17:35 steven Exp $
COMMENT= "anti-spam filter"
VERSION= 3.6.2
DISTNAME= dspam-${VERSION}
SHARED_LIBS= dspam 7.0
MODGNU_SHARED_LIBS= dspam ''
LIBdspam_ALIAS= realdspam
CATEGORIES= mail
MASTER_SITES= http://dspam.nuclearelephant.com/sources/

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2005/12/26 13:17:35 steven Exp $
--- src/Makefile.in.orig Sun Dec 25 19:58:07 2005
+++ src/Makefile.in Sun Dec 25 19:59:15 2005
@@ -442,7 +442,7 @@ libdspam_la_LIBADD = $(adapter_objects)
libdspam_la_DEPENDENCIES = $(adapter_objects) $(am__append_12)
# current:revision:age
-libdspam_la_LDFLAGS = -rpath '$(libdir)' -version-info $(libversion)
+libdspam_la_LDFLAGS = -rpath '$(libdir)' $(librealdspam_la_LDFLAGS)
@DYNAMIC_DRIVER_TRUE@libdb4_drv_la_SOURCES = \
@DYNAMIC_DRIVER_TRUE@ libdb4_drv.c libdb4_drv.h

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2005/10/26 06:18:39 jakob Exp $
@lib lib/libdspam.so.7.0
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/26 13:17:35 steven Exp $
@lib lib/libdspam.so.${LIBdspam_VERSION}

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.20 2005/01/02 12:56:05 alek Exp $
# $OpenBSD: Makefile,v 1.21 2005/12/26 13:19:05 steven Exp $
COMMENT= "visual mail, user and print face server"
DISTNAME= faces-1.6.1
SHARED_LIBS= compface 1.0
CATEGORIES= mail
PERMIT_PACKAGE_CDROM= "no fee"
@ -18,6 +19,10 @@ USE_X11= Yes
WRKDIST= $(WRKDIR)/faces
SHLIB_MAJOR= ${LIBcompface_VERSION:R}
SHLIB_MINOR= ${LIBcompface_VERSION:E}
MAKE_ENV= SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR}
post-extract:
@cd ${WRKSRC} && cp Makefile.dist Makefile

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-compface_Makefile,v 1.2 2001/03/17 15:36:09 wilfried Exp $
$OpenBSD: patch-compface_Makefile,v 1.3 2005/12/26 13:19:05 steven Exp $
--- compface/Makefile.orig Thu Oct 24 03:28:06 1991
+++ compface/Makefile Fri Mar 16 19:57:05 2001
@@ -19,62 +19,62 @@
+++ compface/Makefile Sun Dec 25 20:38:15 2005
@@ -19,62 +19,60 @@
#
#SYSV = -DSYSV32
#--------------------------------------------------------------------------
@ -21,8 +21,6 @@ $OpenBSD: patch-compface_Makefile,v 1.2 2001/03/17 15:36:09 wilfried Exp $
UNEXECUTABLE = $(BINDIR)/$(UNNAME)
LIBNAME = lib$(NAME).a
-LIBRARY = $(LIBDIR)/$(LIBNAME)
+SHLIB_MAJOR = 1
+SHLIB_MINOR = 0
+LIB = $(NAME)
+NOPROFILE = ''
+LIBRARY = $(LIBDIR)
@ -51,12 +49,12 @@ $OpenBSD: patch-compface_Makefile,v 1.2 2001/03/17 15:36:09 wilfried Exp $
$(UNNAME) : uncmain.o $(LIBNAME)
- $(CC) $(CFLAGS) -o $(UNNAME) uncmain.o $(LIBNAME)
-
+ $(CC) $(CFLAGS) -o $(UNNAME) uncmain.o -L./ -lcompface
-$(LIBNAME) : $(OBJECTS)
- ar rc $(LIBNAME) $(OBJECTS)
- -ranlib $(LIBNAME)
+ $(CC) $(CFLAGS) -o $(UNNAME) uncmain.o -L./ -lcompface
-
lint :
lint -abchx $(SOURCES)
@ -90,7 +88,7 @@ $OpenBSD: patch-compface_Makefile,v 1.2 2001/03/17 15:36:09 wilfried Exp $
shar :
shar.script $(OTHERS) $(HDRS) $(SOURCES) > $(NAME).sh
@@ -88,3 +88,5 @@ file.o: file.c compface.h data.h
@@ -88,3 +86,5 @@ file.o: file.c compface.h data.h
gen.o: gen.c compface.h data.h
uncmain.o: uncmain.c compface.h data.h
uncompface.o: uncompface.c compface.h data.h

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2004/09/15 09:09:42 espie Exp $
@lib lib/libcompface.so.1.0
@comment $OpenBSD: PFRAG.shared,v 1.4 2005/12/26 13:19:05 steven Exp $
@lib lib/libcompface.so.${LIBcompface_VERSION}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.35 2005/01/11 07:16:01 sturm Exp $
# $OpenBSD: Makefile,v 1.36 2005/12/26 13:20:11 steven Exp $
# $NetBSD: Makefile,v 1.2 1998/07/04 09:19:04 mycroft Exp $
# $RuOBSD: Makefile,v 1.4 2002/05/18 04:21:36 form Exp $
@ -6,6 +6,10 @@ COMMENT= "xforms-based mail application for Unix"
V= 1.5.3
DISTNAME= xfmail-${V}
SHARED_LIBS= editor 0.0 \
mail 0.0
MODGNU_SHARED_LIBS= editor '' \
mail ''
CATEGORIES= mail x11
MASTER_SITES= ftp://ftp.xfmail.org/pub/xfmail/release/${V}/source/

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2004/09/15 09:09:45 espie Exp $
@lib lib/libeditor.so.0.0
@lib lib/libmail.so.0.0
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/26 13:20:11 steven Exp $
@lib lib/libeditor.so.${LIBeditor_VERSION}
@lib lib/libmail.so.${LIBmail_VERSION}