aboutsummaryrefslogtreecommitdiff
path: root/news/ifmail
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2021-01-07 09:48:50 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2021-01-07 09:48:50 +0000
commita5674098745edf3c363d9ab9f5c5cd7a01aca360 (patch)
treee1052d65fbdb628f0a5e2854a886752f1ccbaa8b /news/ifmail
parent25344df0a4a8ee13087175edaedccc41b9dc70d9 (diff)
downloadports-a5674098745edf3c363d9ab9f5c5cd7a01aca360.tar.gz
ports-a5674098745edf3c363d9ab9f5c5cd7a01aca360.zip
- use libgnuregex from ports
PR: 252246 Submitted by: Kyle Evans
Notes
Notes: svn path=/head/; revision=560695
Diffstat (limited to 'news/ifmail')
-rw-r--r--news/ifmail/Makefile5
-rw-r--r--news/ifmail/files/patch-CONFIG3
2 files changed, 6 insertions, 2 deletions
diff --git a/news/ifmail/Makefile b/news/ifmail/Makefile
index 4944c7af098e..24ece56c803b 100644
--- a/news/ifmail/Makefile
+++ b/news/ifmail/Makefile
@@ -2,7 +2,7 @@
PORTNAME= ifmail
PORTVERSION= 2.15
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= news comms
MASTER_SITES= SUNSITE/system/fido
@@ -12,6 +12,8 @@ COMMENT= FidoNet(tm) support package for UN*X platform
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/README
+LIB_DEPENDS= libgnuregex.so.6:devel/libgnuregex
+
USES= shebangfix
USERS= ifmail
CFLAGS+= -DHAS_STDARG_H -Wall
@@ -48,6 +50,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
do-configure:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
+ -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/CONFIG
pre-install:
diff --git a/news/ifmail/files/patch-CONFIG b/news/ifmail/files/patch-CONFIG
index b92806d33b6d..9c7b1769be00 100644
--- a/news/ifmail/files/patch-CONFIG
+++ b/news/ifmail/files/patch-CONFIG
@@ -101,11 +101,12 @@
# SunOS:
#LIBS =
# Solaris:
-@@ -276,6 +276,9 @@ LIBS = -lndbm
+@@ -276,6 +276,10 @@ LIBS = -lndbm
#LIBS = -lcposix -lmalloc -ldbm -linet -lPW
# NeXTSTEP
#LIBS = -lgdbm -lposix
+# FreeBsd:
++LDFLAGS = -L%%LOCALBASE%%/lib
+LIBS = -lgnuregex
+