From 810244a625e2e9e68f987d050e5fa410100c951b Mon Sep 17 00:00:00 2001 From: bernd Date: Thu, 11 May 2006 14:45:42 +0000 Subject: [PATCH] Add static FLAVOR. Useful in a chroot environment. requested by Aiko Barz and henning@ --- mail/femail/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/mail/femail/Makefile b/mail/femail/Makefile index a19b4061db7..07945ed8053 100644 --- a/mail/femail/Makefile +++ b/mail/femail/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2005/09/22 09:29:14 bernd Exp $ +# $OpenBSD: Makefile,v 1.2 2006/05/11 14:45:42 bernd Exp $ COMMENT= "simple SMTP client" @@ -15,11 +15,18 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= c - MASTER_SITES= ${HOMEPAGE} EXTRACT_SUFX= .tgz NO_REGRESS= Yes +FLAVORS= static +FLAVOR?= + +.if ${FLAVOR:L:Mstatic} +MAKE_ENV= LDFLAGS="-static" +.else +WANTLIB= c +.endif + .include