aboutsummaryrefslogtreecommitdiffstats
path: root/security/amap/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-09-25 19:40:36 +0800
committerkrion <krion@FreeBSD.org>2003-09-25 19:40:36 +0800
commit20e5fce88b0c5da60a211af9f729b41a59624825 (patch)
treed22f8cdbf2c1527e278b4f3860d7519bb6d6a0be /security/amap/files
parent28a9a31556b2c4f41ac2c9a51e58ba20105813f2 (diff)
downloadfreebsd-ports-gnome-20e5fce88b0c5da60a211af9f729b41a59624825.tar.gz
freebsd-ports-gnome-20e5fce88b0c5da60a211af9f729b41a59624825.tar.zst
freebsd-ports-gnome-20e5fce88b0c5da60a211af9f729b41a59624825.zip
- Update to version 4.3
PR: 56860 Submitted by: maintainer
Diffstat (limited to 'security/amap/files')
-rw-r--r--security/amap/files/patch-Makefile.am11
-rw-r--r--security/amap/files/patch-amap.h16
-rw-r--r--security/amap/files/patch-configure29
3 files changed, 37 insertions, 19 deletions
diff --git a/security/amap/files/patch-Makefile.am b/security/amap/files/patch-Makefile.am
index 25dd51415afe..66446c5b06d0 100644
--- a/security/amap/files/patch-Makefile.am
+++ b/security/amap/files/patch-Makefile.am
@@ -1,13 +1,10 @@
---- Makefile.am.orig Mon Jul 14 21:38:18 2003
-+++ Makefile.am Wed Aug 13 15:14:22 2003
-@@ -1,8 +1,7 @@
+--- Makefile.am.orig Sun Sep 14 11:04:11 2003
++++ Makefile.am Sun Sep 14 11:05:29 2003
+@@ -1,6 +1,5 @@
-CC=gcc
LIB=-lpcre -L./pcre-3.9/ -I./pcre-3.9/
-OPT=-O2
+OPT=${CFLAGS}
OPT_DEBUG=-ggdb -Wall -lefence
--DIR=/usr/local/bin
-+DIR=${PREFIX}/bin
+ DIR=/bin
SCRIPTS=appdefs.trig appdefs.resp appdefs.rpc
- MANPAGE=amap.1
- all: pcre strip
diff --git a/security/amap/files/patch-amap.h b/security/amap/files/patch-amap.h
index 49a758ba669b..7d7f6f3cb299 100644
--- a/security/amap/files/patch-amap.h
+++ b/security/amap/files/patch-amap.h
@@ -1,11 +1,11 @@
---- amap.h.orig Tue Aug 5 21:18:29 2003
-+++ amap.h Wed Aug 13 11:48:47 2003
-@@ -24,7 +24,7 @@
- #define AMAP_EMAIL "amap-dev@thc.org"
- #define AMAP_RESOURCE "www.thc.org"
+--- amap.h.orig Sun Sep 14 11:25:16 2003
++++ amap.h Sun Sep 14 11:25:29 2003
+@@ -33,7 +33,7 @@
+ #endif
+ #endif
--#define AMAP_APPDEF_PATH "/usr/local/bin"
-+#define AMAP_APPDEF_PATH "PREFIX/share/amap"
+-#define AMAP_APPDEF_PATH AMAP_PREFIX"/bin"
++#define AMAP_APPDEF_PATH AMAP_PREFIX"/share/amap"
#define AMAP_BUFSIZE 1024 // standard buffer size
#define AMAP_BUFSIZE_BIG 65536 // big standard buffer size
- #define AMAP_REGEX_OPTIONS ( PCRE_MULTILINE | PCRE_CASELESS )
+ #define AMAP_REGEX_OPTIONS ( PCRE_MULTILINE | PCRE_CASELESS | PCRE_DOTALL )
diff --git a/security/amap/files/patch-configure b/security/amap/files/patch-configure
index 9e58b25500f0..501ee229c747 100644
--- a/security/amap/files/patch-configure
+++ b/security/amap/files/patch-configure
@@ -1,11 +1,32 @@
---- configure.orig Tue Jul 29 14:10:16 2003
-+++ configure Tue Jul 29 14:15:56 2003
-@@ -135,7 +135,7 @@
+--- configure.orig Sun Sep 14 11:10:24 2003
++++ configure Sun Sep 14 11:16:41 2003
+@@ -33,7 +33,9 @@
+ echo
+
+ echo "Checking for openssl ..."
+-for i in $LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib \
++# FreeBSD: Try port version of openssl first. LIBDIRS is irrelevant for us
++# Since we don't have /etc/ld.so.conf
++for i in ${PREFIX}/lib $LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib \
+ /*ssl /usr/*ssl /opt/*ssl /usr/local/*ssl /opt/local/*ssl \
+ /*ssl/lib /usr/*ssl/lib /opt/*ssl/lib /usr/local/*ssl/lib /opt/local/*ssl/lib
+ do
+@@ -61,7 +63,8 @@
+ fi
+ done
+
+-for i in /usr/local/include /*ssl/include /usr/include \
++# FreeBSD: Change to prefer installed port over base-system openssl.
++for i in ${PREFIX}/include /usr/local/include /*ssl/include /usr/include \
+ /opt/*ssl/include /usr/*ssl/include /usr/local/*ssl/include
+ do
+ if [ "X" = "X$SSL_IPATH" ]; then
+@@ -152,7 +155,7 @@
XLIBS="$XLIBS -lresolv"
fi
-for i in /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do
-+for i in ${MANPPREFIX}/man /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do
++for i in ${PREFIX}/man /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do
if [ -d $i ]; then
MANDIR=$i
fi