summaryrefslogtreecommitdiff
path: root/mail/sqwebmail
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-08-02 22:07:32 +0000
committerjlam <jlam@pkgsrc.org>2007-08-02 22:07:32 +0000
commitc05d170d22ff6156dfbdaeda333ef9be320af1aa (patch)
tree16c99ceb6c46268f85f80bb64041a4670a184d84 /mail/sqwebmail
parent09c4d82d2afbe84304093192da1ae4e3d2acff78 (diff)
downloadpkgsrc-c05d170d22ff6156dfbdaeda333ef9be320af1aa.tar.gz
Fix botched migration of PKG_OPTIONS from courier-mta/Makefile.common
into the Makefiles of the packages that include it: (1) PKGNAME and PKG_SUPPORTED_OPTIONS clearly no longer need to be defined since the only code that used it in Makefile.common was removed. (2) Package Makefiles need to properly define PKG_OPTIONS_VAR and PKG_SUPPORTED_OPTIONS prior to including bsd.options.mk. Set them to the appropriate values to match the orginal names from before the botched migration.
Diffstat (limited to 'mail/sqwebmail')
-rw-r--r--mail/sqwebmail/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile
index 2526ee927c8..b16d6998aaa 100644
--- a/mail/sqwebmail/Makefile
+++ b/mail/sqwebmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2007/06/15 18:30:31 jlam Exp $
+# $NetBSD: Makefile,v 1.54 2007/08/02 22:07:32 jlam Exp $
DISTNAME= sqwebmail-5.1.2
PKGREVISION= 1
@@ -17,7 +17,8 @@ USE_TOOLS+= env gmake gzip:run perl:run
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
-PKG_SUPPORTED_OPTIONS+= fam
+PKG_OPTIONS_VAR= PKG_OPTIONS.sqwebmail
+PKG_SUPPORTED_OPTIONS= fam
.include "../../mk/bsd.options.mk"
@@ -25,8 +26,6 @@ PKG_SUPPORTED_OPTIONS+= fam
. include "../../mk/fam.buildlink3.mk"
.endif
-# PKGNAME is a parameter to the following file.
-PKGNAME= ${DISTNAME}
.include "../../mail/courier-mta/Makefile.common"
INSTALL_AM_MAKEFLAGS= sysconfdir=${EGDIR}