summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMike Heffner <mikeh@FreeBSD.org>2004-05-26 02:28:43 +0000
committerMike Heffner <mikeh@FreeBSD.org>2004-05-26 02:28:43 +0000
commitddd1e3c72a61a2baa836a4a83f83abde434a4e34 (patch)
tree27fe6cd42fae0d29b0c4a041336bc0114feae659 /mail
parentupdate to openwebmail-2.32 (diff)
Patch the correct files to rename the installed library.
PR: ports/67053
Notes
Notes: svn path=/head/; revision=110019
Diffstat (limited to 'mail')
-rw-r--r--mail/xfmail/Makefile8
-rw-r--r--mail/xfmail/files/patch-ab49
2 files changed, 7 insertions, 50 deletions
diff --git a/mail/xfmail/Makefile b/mail/xfmail/Makefile
index e8a75bd9b9e8..72ce34333823 100644
--- a/mail/xfmail/Makefile
+++ b/mail/xfmail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xfmail
PORTVERSION= 1.5.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= ftp://xfmail.cfreeze.com/pub/xfmail/release/%SUBDIR%/ \
ftp://ftp.welcomes-you.com/pub/xfmail/release/%SUBDIR%/ \
@@ -28,6 +28,7 @@ USE_X_PREFIX= yes
USE_XPM= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
.include <bsd.port.pre.mk>
@@ -71,4 +72,9 @@ pre-everything::
.endif
@echo
+post-patch:
+ @${REINPLACE_CMD} -e 's/libeditor/libxfeditor/g' \
+ ${WRKSRC}/src/editor/Makefile.* \
+ ${WRKSRC}/src/ui/Makefile.*
+
.include <bsd.port.post.mk>
diff --git a/mail/xfmail/files/patch-ab b/mail/xfmail/files/patch-ab
deleted file mode 100644
index 158be4ec13a7..000000000000
--- a/mail/xfmail/files/patch-ab
+++ /dev/null
@@ -1,49 +0,0 @@
-Index: src/editor/.cvsignore
-===================================================================
-RCS file: /cvsroot/archimedes/xfmail/src/editor/.cvsignore,v
-retrieving revision 1.1
-diff -u -r1.1 .cvsignore
---- src/editor/.cvsignore 21 Jun 2003 05:15:34 -0000 1.1
-+++ src/editor/.cvsignore 21 May 2004 03:04:43 -0000
-@@ -1,6 +1,6 @@
- .deps
- .libs
- *.lo
--libeditor.la
-+libxfeditor.la
- Makefile
- Makefile.in
-Index: src/editor/Makefile.am
-===================================================================
-RCS file: /cvsroot/archimedes/xfmail/src/editor/Makefile.am,v
-retrieving revision 1.7
-diff -u -r1.7 Makefile.am
---- src/editor/Makefile.am 11 Nov 2003 05:12:08 -0000 1.7
-+++ src/editor/Makefile.am 21 May 2004 03:04:43 -0000
-@@ -1,8 +1,8 @@
- # $Id: Makefile.am,v 1.7 2003/11/11 05:12:08 fesnel Exp $
-
--lib_LTLIBRARIES = libeditor.la
-+lib_LTLIBRARIES = libxfeditor.la
-
--libeditor_la_SOURCES = \
-+libxfeditor_la_SOURCES = \
- fl_edit.cpp \
- textbuf.cpp
-
-Index: src/ui/Makefile.am
-===================================================================
-RCS file: /cvsroot/archimedes/xfmail/src/ui/Makefile.am,v
-retrieving revision 1.18
-diff -u -r1.18 Makefile.am
---- src/ui/Makefile.am 11 Nov 2003 05:12:09 -0000 1.18
-+++ src/ui/Makefile.am 21 May 2004 03:04:43 -0000
-@@ -43,7 +43,7 @@
- @LDAP_LIBS@ \
- @SOUND_LIBS@ \
- ../mail/libmail.la \
-- ../editor/libeditor.la
-+ ../editor/libxfeditor.la
-
- INCLUDES = -I$(top_srcdir)/data -I$(top_srcdir)/src/editor -I$(top_srcdir)/src/mail
-