ports/110201: amule2 doesn't shows accentuated filename
Boris Kovalenko
boris at tagnet.ru
Mon Mar 19 04:40:12 UTC 2007
The following reply was made to PR ports/110201; it has been noted by GNATS.
From: Boris Kovalenko <boris at tagnet.ru>
To: bug-followup at FreeBSD.org, edwin at freebsd.org
Cc:
Subject: Re: ports/110201: amule2 doesn't shows accentuated filename
Date: Mon, 19 Mar 2007 09:30:04 +0500
This is a multi-part message in MIME format.
--------------010001080704040403060806
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit
Hello!
The attached patch fixes submitter's problem. It also slighty
modified to conform "Porters Handbook".
With respect,
Boris
--------------010001080704040403060806
Content-Type: text/plain;
name="amule2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="amule2.diff"
--- Makefile.orig Fri Jan 12 22:18:48 2007
+++ Makefile Mon Mar 19 09:24:08 2007
@@ -7,9 +7,8 @@
PORTNAME= aMule
PORTVERSION= 2.1.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-p2p
-#MASTER_SITES= http://download.berlios.de/amule/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= amule
PATCH_SITES= http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/
@@ -26,7 +25,6 @@
USE_X_PREFIX= yes
USE_GNOME= gnomehier gnomehack gnomeprefix
USE_GMAKE= yes
-USE_GETTEXT= yes
USE_WX= 2.8
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
@@ -36,9 +34,7 @@
--without-included-gettext \
--with-libintl-prefix=${LOCALBASE} \
--with-libiconv-prefix=${LOCALBASE} \
- --with-curl-config=${CURL_CONFIG} \
- --enable-embedded_crypto \
- --enable-monolithic
+ --enable-embedded_crypto
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
@@ -49,9 +45,8 @@
AMULEWEBSRV "Compile aMule WebServer" on \
CAS "Compile C aMule Statistics (+GUI)" on \
ALC "Compile aMule Link Creator (+GUI)" on \
- AMULEDAEMON "Compile aMule daemon version - EXPERIMENTAL" off
-
-CURL_CONFIG?= ${LOCALBASE}/bin/curl-config
+ AMULEDAEMON "Compile aMule daemon version - EXPERIMENTAL" off \
+ WXUNICODE "Enable Unicode support" on
.include <bsd.port.pre.mk>
@@ -59,14 +54,20 @@
BROKEN= Will not compile on FreeBSD 4.x - See net-p2p/amule1 for 4.x compatibility
.endif
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+.else
+CONFIGURE_ARGS+= --disable-nls
+.endif
+
# Configure options
-.if defined(WITH_OPTIMIZE)
+.if !defined(WITHOUT_OPTIMIZE)
CONFIGURE_ARGS+= --enable-optimize
.else
CONFIGURE_ARGS+= --disable-optimize
.endif
-.if defined(WITH_ED2K)
+.if !defined(WITHOUT_ED2K)
CONFIGURE_ARGS+= --enable-ed2k
PLIST_SUB+= PL_ED2K=""
.else
@@ -74,7 +75,7 @@
PLIST_SUB+= PL_ED2K="@comment "
.endif
-.if defined(WITH_AMULECMD)
+.if !defined(WITHOUT_AMULECMD)
CONFIGURE_ARGS+= --enable-amulecmd
PLIST_SUB+= PL_AMULECMD=""
.else
@@ -82,7 +83,7 @@
PLIST_SUB+= PL_AMULECMD="@comment "
.endif
-.if defined(WITH_AMULEWEBSRV)
+.if !defined(WITHOUT_AMULEWEBSRV)
CONFIGURE_ARGS+= --enable-webserver
PLIST_SUB+= PL_AMULEWEBSRV=""
.else
@@ -90,7 +91,7 @@
PLIST_SUB+= PL_AMULEWEBSRV="@comment "
.endif
-.if defined(WITH_CAS)
+.if !defined(WITHOUT_CAS)
CONFIGURE_ARGS+= --enable-cas --enable-wxcas
PLIST_SUB+= PL_CAS=""
.else
@@ -98,7 +99,7 @@
PLIST_SUB+= PL_CAS="@comment "
.endif
-.if defined(WITH_ALC)
+.if !defined(WITHOUT_ALC)
CONFIGURE_ARGS+= --enable-alc --enable-alcc
PLIST_SUB+= PL_ALC=""
.else
@@ -113,6 +114,10 @@
.else
CONFIGURE_ARGS+= --disable-amule-daemon --disable-amule-gui
PLIST_SUB+= PL_AMULEDAEMON="@comment "
+.endif
+
+.if !defined(WITHOUT_WXUNICODE)
+WX_UNICODE=yes
.endif
# Man pages management
--------------010001080704040403060806--
More information about the freebsd-ports-bugs
mailing list