mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Remove some unused patch
PR: ports/96176 Submitted by: maintainer (chinsan)
This commit is contained in:
parent
bab91ae9a4
commit
757172faf9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160196
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= pcmanx
|
||||
PORTVERSION= 0.3.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= chinese net gnome
|
||||
MASTER_SITES= http://pcmanx.csie.net/release/
|
||||
DISTNAME= ${PORTNAME}-gtk2-${PORTVERSION}
|
||||
@ -19,7 +20,6 @@ USE_GCC= 3.3+
|
||||
USE_ICONV= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_REINPLACE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
@ -34,6 +34,10 @@ PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/po/zh_CN.po
|
||||
@${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/po/zh_TW.po
|
||||
@${REINPLACE_CMD} -e 's/wget -O/fetch -o/' ${WRKSRC}/src/mainframe.cpp
|
||||
@${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/src/generalprefpage.cpp
|
||||
@${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/src/view/telnetview.cpp
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/core/Makefile.in.orig Mon Oct 10 00:03:44 2005
|
||||
+++ src/core/Makefile.in Sat Jan 14 23:13:58 2006
|
||||
@@ -253,7 +253,7 @@
|
||||
libpcmanx_core_la_LIBADD = $(GUI_LIBS)
|
||||
libpcmanx_core_la_LDFLAGS = \
|
||||
-export-dynamic \
|
||||
- @LIBTOOL_EXPORT_OPTIONS@ \
|
||||
+ -export-symbols-regex "^[[^_]].*" \
|
||||
-rpath $(libdir)
|
||||
|
||||
libpcmanx_core_la_SOURCES = \
|
@ -1,11 +0,0 @@
|
||||
--- src/generalprefpage.cpp.orig Tue Oct 11 02:57:13 2005
|
||||
+++ src/generalprefpage.cpp Tue Oct 11 02:56:43 2005
|
||||
@@ -64,7 +64,7 @@
|
||||
gtk_widget_show (m_AAFont);
|
||||
gtk_box_pack_start (GTK_BOX (m_Widget), m_AAFont, FALSE, FALSE, 0);
|
||||
|
||||
- m_pWgetFiles = gtk_check_button_new_with_mnemonic (_("Use \"wget\" to download files."));
|
||||
+ m_pWgetFiles = gtk_check_button_new_with_mnemonic (_("Use \"fetch\" to download files."));
|
||||
gtk_widget_show (m_pWgetFiles);
|
||||
gtk_box_pack_start (GTK_BOX (m_Widget), m_pWgetFiles, FALSE, FALSE, 0);
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/mainframe.cpp.orig Tue Oct 11 02:46:46 2005
|
||||
+++ src/mainframe.cpp Tue Oct 11 02:47:07 2005
|
||||
@@ -1033,7 +1033,7 @@
|
||||
child_pid = fork();
|
||||
if (child_pid == 0)
|
||||
{
|
||||
- int t_nRet = system("wget -O ~/.pcmanx/sitelist http://free.ym.edu.tw/pcman/site_list.utf8");
|
||||
+ int t_nRet = system("fetch -o ~/.pcmanx/sitelist http://free.ym.edu.tw/pcman/site_list.utf8");
|
||||
if (t_nRet == 0)
|
||||
kill(parent_pid, SIGUSR1);
|
||||
else
|
@ -1,11 +0,0 @@
|
||||
--- src/view/telnetview.cpp.orig Tue Oct 11 02:44:46 2005
|
||||
+++ src/view/telnetview.cpp Tue Oct 11 02:45:04 2005
|
||||
@@ -334,7 +334,7 @@
|
||||
strncmp(t_pcDot, "tbz", 3) == 0)
|
||||
{
|
||||
string t_sURL = sURL;
|
||||
- t_sURL.insert(0, "wget ");
|
||||
+ t_sURL.insert(0, "fetch ");
|
||||
t_sURL.append(" &");
|
||||
system(t_sURL.c_str());
|
||||
return;
|
Loading…
Reference in New Issue
Block a user