aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-04 20:29:06 +0800
committerkrion <krion@FreeBSD.org>2003-10-04 20:29:06 +0800
commit8f9f69d2555b11a3b687db325ba1130df1e10fea (patch)
tree8e8c265f0581f2c4caddee549f29179deeb8c028
parentd24dffc783bd1827dfb099c3dabcb3233be16da3 (diff)
downloadfreebsd-ports-gnome-8f9f69d2555b11a3b687db325ba1130df1e10fea.tar.gz
freebsd-ports-gnome-8f9f69d2555b11a3b687db325ba1130df1e10fea.tar.zst
freebsd-ports-gnome-8f9f69d2555b11a3b687db325ba1130df1e10fea.zip
- Update to version 1.9
-rw-r--r--www/middleman/Makefile8
-rw-r--r--www/middleman/distinfo2
-rw-r--r--www/middleman/files/patch-pcre-internal.h12
3 files changed, 17 insertions, 5 deletions
diff --git a/www/middleman/Makefile b/www/middleman/Makefile
index 55f85a4de359..3808d9722758 100644
--- a/www/middleman/Makefile
+++ b/www/middleman/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= middleman
-PORTVERSION= 1.8.3
+PORTVERSION= 1.9
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= middle-man
@@ -19,6 +19,9 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
MAN8= mman.8
.if defined(WITH_SYSLOG)
@@ -38,9 +41,6 @@ PLIST_SUB+= MMAN_CACHE=${MMAN_CACHE}
post-patch:
@${REINPLACE_CMD} -e \
- 's|-lpthread|${PTHREAD_LIBS}|g' \
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -e \
's|/usr/bin/mman|${PREFIX}/bin/mman|g ; \
s|/etc/mman/config.xml|${PREFIX}/etc/mman.xml|g' \
${WRKSRC}/scripts/mman.init \
diff --git a/www/middleman/distinfo b/www/middleman/distinfo
index 235483bc3f03..6f5d1e73f747 100644
--- a/www/middleman/distinfo
+++ b/www/middleman/distinfo
@@ -1 +1 @@
-MD5 (middleman-1.8.3.tar.gz) = 3628e25c4eda47b81ee2cad8554c1df9
+MD5 (middleman-1.9.tar.gz) = 235302e462d9dfe833e9484d445089bf
diff --git a/www/middleman/files/patch-pcre-internal.h b/www/middleman/files/patch-pcre-internal.h
new file mode 100644
index 000000000000..cee3c3cf4af4
--- /dev/null
+++ b/www/middleman/files/patch-pcre-internal.h
@@ -0,0 +1,12 @@
+--- pcre/internal.h.orig Thu Sep 18 21:59:10 2003
++++ pcre/internal.h Thu Sep 18 21:59:30 2003
+@@ -38,6 +38,9 @@
+ /* Get the definitions provided by running "configure" */
+
+ #include "config.h"
++#include <ctype.h>
++#include <stdlib.h>
++#include <string.h>
+
+ /* To cope with SunOS4 and other systems that lack memmove() but have bcopy(),
+ define a macro for memmove() if HAVE_MEMMOVE is false, provided that HAVE_BCOPY