svn commit: r301585 - head/www/mod_musicindex
Olli Hauer
ohauer at FreeBSD.org
Thu Jul 26 22:20:35 UTC 2012
Author: ohauer
Date: Thu Jul 26 22:20:34 2012
New Revision: 301585
URL: http://svn.freebsd.org/changeset/ports/301585
Log:
- fix support for non default options
with options NG and usage of APACHE_PKGNAMEPREFIX
bsd.port.pre.mk has to be included before OPTIONS
else OPTIONFILE points a non existing location and
additional options are ignored
no version bump, it affects only non default options
Modified:
head/www/mod_musicindex/Makefile
Modified: head/www/mod_musicindex/Makefile
==============================================================================
--- head/www/mod_musicindex/Makefile Thu Jul 26 22:10:13 2012 (r301584)
+++ head/www/mod_musicindex/Makefile Thu Jul 26 22:20:34 2012 (r301585)
@@ -16,6 +16,10 @@ COMMENT= Apache module that allows downl
LICENSE= LGPL21
+USE_APACHE= 20+
+
+.include <bsd.port.pre.mk>
+
OPTIONS_DEFINE= NLS FLAC MP3 MP4 VORBIS LIBARCHIVE FILECACHE MYSQLCACHE
OPTIONS_DEFAULT=NLS MP3 LIBARCHIVE FILECACHE
@@ -27,8 +31,6 @@ MYSQLCACHE_DESC= MySQL caching support
MAKE_JOBS_SAFE= yes
-USE_APACHE= 20+
-
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -119,4 +121,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG} ""
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list