freebsd-ports/www/drupal6-token/Makefile
John Marino c7aba825f0 Remove OPTIONS_DEFINE out of Mk/Uses/drupal.mk (affects many drupal ports)
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
2016-01-11 08:51:49 +00:00

26 lines
784 B
Makefile

# Created by: Jeremy Iverson <jeremy@algenta.com>
# $FreeBSD$
PORTNAME= token
DISTVERSION= 6.x-1.12
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= ports@FreeBSD.org
COMMENT= Token module for Drupal
USES= drupal:6,module
MODULE_FILES= translations/token.pot translations/da.po translations/de.po \
translations/es.po translations/hu.po translations/ja.po \
translations/pl.po translations/sk.po translations/uk-ua.po \
translations/uk.po token.info token.install token.module \
token.rules.inc token.test tokenSTARTER.info \
tokenSTARTER.module token_actions.info token_actions.module \
token_comment.inc token_node.inc token_taxonomy.inc \
token_user.inc
MODULE_DIRS= translations
DOC_FILES= API.txt LICENSE.txt README.txt
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>