diff options
author | mikeh <mikeh@FreeBSD.org> | 2004-05-26 10:28:43 +0800 |
---|---|---|
committer | mikeh <mikeh@FreeBSD.org> | 2004-05-26 10:28:43 +0800 |
commit | 287e2cf165366eb5659686ab05a1c52c808df4f0 (patch) | |
tree | 3ff939b34fe657d9909bd28ec1bc37d97a519a27 | |
parent | d0351e958e2b25a84e71fc68845f54c9d9ddf704 (diff) | |
download | freebsd-ports-gnome-287e2cf165366eb5659686ab05a1c52c808df4f0.tar.gz freebsd-ports-gnome-287e2cf165366eb5659686ab05a1c52c808df4f0.tar.zst freebsd-ports-gnome-287e2cf165366eb5659686ab05a1c52c808df4f0.zip |
Patch the correct files to rename the installed library.
PR: ports/67053
-rw-r--r-- | mail/xfmail/Makefile | 8 | ||||
-rw-r--r-- | mail/xfmail/files/patch-ab | 49 |
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 - |