The USES= fragments are not supposed to modify OPTIONS_* because they are loaded after bsd.options.mk. In the particular case of drupal, this resulted in SELECTED_OPTIONS and DESELECTED_OPTIONS being incorrect. A second problem was that the "=" was used for assignment rather than "?=", meaning that any port with USES=drupal got their options overwritten at some point (this included the main www/drupal6 and www/drupal7 ports). This commit adds OPTIONS_DEFINE=DOCS to almost every port that had set USES=drupal to correct the mistake of setting options in Mk/Uses. PR: 206060
23 lines
523 B
Makefile
23 lines
523 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mimedetect
|
|
DISTVERSION= 6.x-1.3
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://ftp.drupal.org/files/projects/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= API for Consistent Server Side Mime Detection
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= drupal:6,module
|
|
|
|
MODULE_FILES= magic magic.mgc magic.mime \
|
|
mimedetect.info mimedetect.install mimedetect.module
|
|
DOC_FILES= LICENSE.txt README.txt
|
|
OPTIONS_DEFINE= DOCS
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|