Index: head/www/mod_maxminddb/Makefile =================================================================== --- head/www/mod_maxminddb/Makefile (revision 492496) +++ head/www/mod_maxminddb/Makefile (revision 492497) @@ -1,25 +1,28 @@ # $FreeBSD$ PORTNAME= mod_maxminddb PORTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} MAINTAINER= mmokhi@FreeBSD.org COMMENT= MaxMind DB Apache Module LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb USES= apache:2.4+ autoreconf gmake localbase GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= maxmind -AP_FAST_BUILD= yes -AP_GENPLIST= yes -SRC_FILE= src/${PORTNAME}.c +post-patch: + @${REINPLACE_CMD} -e 's|%%LIBEXECDEST%%|${STAGEDIR}${PREFIX}/${APACHEMODDIR}|g' ${WRKSRC}/src/Makefile.am + +pre-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} .include Index: head/www/mod_maxminddb/files/patch-src_Makefile.am =================================================================== --- head/www/mod_maxminddb/files/patch-src_Makefile.am (revision 492496) +++ head/www/mod_maxminddb/files/patch-src_Makefile.am (revision 492497) @@ -1,17 +1,21 @@ ---- src/Makefile.am.orig 2019-01-19 16:36:41 UTC +--- src/Makefile.am.orig 2016-10-19 20:07:32 UTC +++ src/Makefile.am -@@ -1,12 +1,13 @@ +@@ -1,15 +1,16 @@ AUTOMAKE_OPTIONS = foreign WC=-Wc,"$(CFLAGS)" +WL=-Wl,"$(LDFLAGS)" # the default target all: module # compile the DSO file module: mod_maxminddb.c $(TARGET) - $(APXS) -c $(LDFLAGS) $(LIBMAXMINDDB_LDFLAGS) $(LIBS) $(WC) $(APXS_LDFLAGS) mod_maxminddb.c + $(APXS) -c $(WL) $(LIBMAXMINDDB_LDFLAGS) $(LIBS) $(WC) $(APXS_LDFLAGS) mod_maxminddb.c install-exec-local: module - $(APXS) -i -a -n maxminddb .libs/mod_maxminddb.so +- $(APXS) -i -a -n maxminddb .libs/mod_maxminddb.so ++ $(APXS) -S LIBEXECDIR=%%LIBEXECDEST%% -i -a -n maxminddb mod_maxminddb.la ### maxminddb .libs/mod_maxminddb.so + + CLEANFILES= *.la *.lo *.o *.so *.slo .libs/* + Index: head/www/mod_maxminddb/pkg-plist =================================================================== --- head/www/mod_maxminddb/pkg-plist (nonexistent) +++ head/www/mod_maxminddb/pkg-plist (revision 492497) @@ -0,0 +1 @@ +%%APACHEMODDIR%%/%%AP_MODULE%% Property changes on: head/www/mod_maxminddb/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property