freebsd-ports/www/drupal6-google_analytics/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

19 lines
488 B
Makefile

# Created by: Nick Hilliard <nick@foobar.org>
# $FreeBSD$
PORTNAME= google_analytics
DISTVERSION= 6.x-3.5
CATEGORIES= www
MAINTAINER= ports@FreeBSD.org
COMMENT= Adds the Google Analytics web stats tracking system to your website
USES= drupal:6,module
MODULE_FILES= googleanalytics.admin.inc googleanalytics.install googleanalytics.module \
googleanalytics.info googleanalytics.js googleanalytics.test
DOC_FILES= LICENSE.txt README.txt
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>