View | Details | Raw Unified | Return to bug 202838 | Differences between
and this patch

Collapse All | Expand All

(-)converters/libiconv/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	libiconv
4
PORTNAME=	libiconv
5
PORTVERSION=	1.14
5
PORTVERSION=	1.14
6
PORTREVISION=	8
6
PORTREVISION=	9
7
CATEGORIES=	converters devel
7
CATEGORIES=	converters devel
8
MASTER_SITES=	GNU
8
MASTER_SITES=	GNU
9
9
(-)converters/libiconv/files/patch-lib-iconv.c (-11 lines)
Lines 1-11 Link Here
1
--- lib/iconv.c.orig
2
+++ lib/iconv.c
3
@@ -598,7 +598,7 @@
4
    It wants to define the symbols 'iconv_open', 'iconv', 'iconv_close'.  */
5
 #define strong_alias(name, aliasname) _strong_alias(name, aliasname)
6
 #define _strong_alias(name, aliasname) \
7
-  extern __typeof (name) aliasname __attribute__ ((alias (#name)));
8
+  extern LIBICONV_DLL_EXPORTED __typeof (name) aliasname __attribute__ ((alias (#name)));
9
 #undef iconv_open
10
 #undef iconv
11
 #undef iconv_close
(-)Mk/Uses/iconv.mk (-1 / +1 lines)
Lines 40-46 ICONV_CONFIGURE_BASE= Link Here
40
.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && (${OSVERSION} < 1001514 \
40
.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && (${OSVERSION} < 1001514 \
41
 || (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100069))) \
41
 || (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100069))) \
42
 || exists(${LOCALBASE}/include/iconv.h)
42
 || exists(${LOCALBASE}/include/iconv.h)
43
BUILD_DEPENDS+=	libiconv>=1.14_8:${PORTSDIR}/converters/libiconv
43
BUILD_DEPENDS+=	libiconv>=1.14_9:${PORTSDIR}/converters/libiconv
44
CPPFLAGS+=	-DLIBICONV_PLUG
44
CPPFLAGS+=	-DLIBICONV_PLUG
45
CFLAGS+=	-DLIBICONV_PLUG
45
CFLAGS+=	-DLIBICONV_PLUG
46
CXXFLAGS+=	-DLIBICONV_PLUG
46
CXXFLAGS+=	-DLIBICONV_PLUG
(-)audio/deadbeef/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	deadbeef
4
PORTNAME=	deadbeef
5
PORTVERSION=	0.6.2
5
PORTVERSION=	0.6.2
6
PORTREVISION=	6
6
PORTREVISION=	7
7
CATEGORIES=	audio
7
CATEGORIES=	audio
8
MASTER_SITES=	SF/${PORTNAME}/
8
MASTER_SITES=	SF/${PORTNAME}/
9
9
(-)audio/deadbeef/files/patch-junklib.c (+10 lines)
Line 0 Link Here
1
--- junklib.c.orig	2014-07-31 19:03:51 UTC
2
+++ junklib.c
3
@@ -32,7 +32,6 @@
4
 #include <stdlib.h>
5
 #include <string.h>
6
 #if HAVE_ICONV
7
-  #define LIBICONV_PLUG
8
   #include <iconv.h>
9
 #elif HAVE_ICU
10
   #warning icu
(-)comms/hidapi/Makefile (-1 / +7 lines)
Lines 15-24 LICENSE_COMB= dual Link Here
15
USE_GITHUB=	yes
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	signal11
16
GH_ACCOUNT=	signal11
17
17
18
USES=		autoreconf iconv:wchar_t libtool
18
USES=		autoreconf gettext-tools iconv:wchar_t libtool
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
INSTALL_TARGET=	install-strip
21
INSTALL_TARGET=	install-strip
22
PORTDOCS=	*
22
PORTDOCS=	*
23
23
24
CPPFLAGS+=	-I${LOCALBASE}/include
25
LIBS+=		-L${LOCALBASE}/lib
26
27
post-patch:
28
	@${CP} ${LOCALBASE}/share/gettext/config.rpath ${WRKSRC}
29
24
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)comms/hidapi/files/patch-configure.ac (-4 / +11 lines)
Lines 1-11 Link Here
1
--- configure.ac.orig
1
--- configure.ac.orig	2013-10-06 22:43:37 UTC
2
+++ configure.ac
2
+++ configure.ac
3
@@ -94,6 +94,8 @@
3
@@ -89,11 +89,11 @@ case $host in
4
 	LIBS="${LIBS}"
4
 	os="freebsd"
5
 	threads="pthreads"
6
 
7
-	CFLAGS="$CFLAGS -I/usr/local/include"
8
-	LDFLAGS="$LDFLAGS -L/usr/local/lib"
9
-	LIBS="${LIBS}"
5
 	AC_CHECK_LIB([usb], [libusb_init], [LIBS_LIBUSB_PRIVATE="${LIBS_LIBUSB_PRIVATE} -lusb"], [hidapi_lib_error libusb])
10
 	AC_CHECK_LIB([usb], [libusb_init], [LIBS_LIBUSB_PRIVATE="${LIBS_LIBUSB_PRIVATE} -lusb"], [hidapi_lib_error libusb])
6
 	AC_CHECK_LIB([iconv], [iconv_open], [LIBS_LIBUSB_PRIVATE="${LIBS_LIBUSB_PRIVATE} -liconv"], [hidapi_lib_error libiconv])
11
-	AC_CHECK_LIB([iconv], [iconv_open], [LIBS_LIBUSB_PRIVATE="${LIBS_LIBUSB_PRIVATE} -liconv"], [hidapi_lib_error libiconv])
7
+	AC_CHECK_DECLS([libusb_get_string_descriptor], [], [], [[#include <libusb.h>]])
12
+	AC_CHECK_DECLS([libusb_get_string_descriptor], [], [], [[#include <libusb.h>]])
8
+	AC_CHECK_DECLS([libusb_handle_events_completed], [], [], [[#include <libusb.h>]])
13
+	AC_CHECK_DECLS([libusb_handle_events_completed], [], [], [[#include <libusb.h>]])
14
+	AM_ICONV
15
+	LIBS_LIBUSB_PRIVATE="${LIBS_LIBUSB_PRIVATE} ${LTLIBICONV}"
9
 	echo libs_priv: $LIBS_LIBUSB_PRIVATE
16
 	echo libs_priv: $LIBS_LIBUSB_PRIVATE
10
 	;;
17
 	;;
11
 *-mingw*)
18
 *-mingw*)
(-)comms/hidapi/files/patch-libusb-hid.c (-3 / +16 lines)
Lines 1-4 Link Here
1
--- libusb/hid.c.orig
1
--- libusb/hid.c.orig	2013-10-06 22:43:37 UTC
2
+++ libusb/hid.c
2
+++ libusb/hid.c
3
@@ -25,6 +25,8 @@
3
@@ -25,6 +25,8 @@
4
 
4
 
Lines 9-15 Link Here
9
 /* C */
9
 /* C */
10
 #include <stdio.h>
10
 #include <stdio.h>
11
 #include <string.h>
11
 #include <string.h>
12
@@ -250,7 +252,7 @@
12
@@ -250,7 +252,7 @@ static int get_usage(uint8_t *report_des
13
 }
13
 }
14
 #endif /* INVASIVE_GET_USAGE */
14
 #endif /* INVASIVE_GET_USAGE */
15
 
15
 
Lines 18-24 Link Here
18
 /* The FreeBSD version of libusb doesn't have this funciton. In mainline
18
 /* The FreeBSD version of libusb doesn't have this funciton. In mainline
19
    libusb, it's inlined in libusb.h. This function will bear a striking
19
    libusb, it's inlined in libusb.h. This function will bear a striking
20
    resemblence to that one, because there's about one way to code it.
20
    resemblence to that one, because there's about one way to code it.
21
@@ -757,7 +757,11 @@
21
@@ -333,11 +335,7 @@ static wchar_t *get_usb_string(libusb_de
22
 	size_t inbytes;
23
 	size_t outbytes;
24
 	size_t res;
25
-#ifdef __FreeBSD__
26
-	const char *inptr;
27
-#else
28
-	char *inptr;
29
-#endif
30
+	ICONV_CONST char *inptr;
31
 	char *outptr;
32
 
33
 	/* Determine which language to use. */
34
@@ -757,7 +755,11 @@ static void *read_thread(void *param)
22
 	libusb_cancel_transfer(dev->transfer);
35
 	libusb_cancel_transfer(dev->transfer);
23
 
36
 
24
 	while (!dev->cancelled)
37
 	while (!dev->cancelled)
(-)deskutils/fbreader/Makefile (-4 / +2 lines)
Lines 4-10 Link Here
4
PORTNAME=	fbreader
4
PORTNAME=	fbreader
5
PORTVERSION=	0.99.6
5
PORTVERSION=	0.99.6
6
DISTVERSIONSUFFIX=	-freebsdport
6
DISTVERSIONSUFFIX=	-freebsdport
7
PORTREVISION=	1
7
PORTREVISION=	2
8
CATEGORIES=	deskutils
8
CATEGORIES=	deskutils
9
9
10
MAINTAINER=	fluffy@FreeBSD.org
10
MAINTAINER=	fluffy@FreeBSD.org
Lines 20-31 OPTIONS_SINGLE_GUI= GTK2 QT4 Link Here
20
OPTIONS_DEFAULT=	QT4
20
OPTIONS_DEFAULT=	QT4
21
OPTIONS_SUB=		yes
21
OPTIONS_SUB=		yes
22
22
23
24
USE_GITHUB=	yes
23
USE_GITHUB=	yes
25
GH_ACCOUNT=	geometer
24
GH_ACCOUNT=	geometer
26
GH_PROJECT=	FBReader
25
GH_PROJECT=	FBReader
27
26
28
29
.if defined(WITH_DEBUG)
27
.if defined(WITH_DEBUG)
30
STATUS=		debug
28
STATUS=		debug
31
.else
29
.else
Lines 53-59 MAKE_ENV+= TARGET_ARCH=desktop TARGET_ST Link Here
53
MAKE_ARGS+=	MAKE=${MAKE_CMD} LIBDIR=${PREFIX}/lib
51
MAKE_ARGS+=	MAKE=${MAKE_CMD} LIBDIR=${PREFIX}/lib
54
52
55
post-patch:
53
post-patch:
56
	@${REINPLACE_CMD} -e '/^CFLAGS/s,-pipe.*$$,${CFLAGS} -DLIBICONV_PLUG,' \
54
	@${REINPLACE_CMD} -e '/^CFLAGS/s,-pipe.*$$,${CFLAGS},' \
57
		-e '/^CC/d;/^LD/d;/QTINCLUDE/s,-I.*$$,-I${QT_INCDIR},' \
55
		-e '/^CC/d;/^LD/d;/QTINCLUDE/s,-I.*$$,-I${QT_INCDIR},' \
58
		${WRKSRC}/makefiles/arch/desktop.mk
56
		${WRKSRC}/makefiles/arch/desktop.mk
59
	@${REINPLACE_CMD} -e 's,-O3,,;s,-ldl,${ICONV_LIB},' \
57
	@${REINPLACE_CMD} -e 's,-O3,,;s,-ldl,${ICONV_LIB},' \
(-)deskutils/ljclive/Makefile (-6 / +4 lines)
Lines 13-24 COMMENT= Command line client for posting Link Here
13
13
14
USES=		iconv
14
USES=		iconv
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
CONFIGURE_ARGS=	ac_cv_search_iconv=${ICONV_LIB}
17
CPPFLAGS+=	-I${LOCALBASE}/include
18
LIBS+=		-L${LOCALBASE}/lib
16
19
17
CONFLICTS=	*clive-[1-9]*
20
CONFLICTS=	*clive-[1-9]*
18
21
19
.include <bsd.port.pre.mk>
22
.include <bsd.port.mk>
20
21
post-patch:
22
	@${REINPLACE_CMD} 's/iconv "iconv/"iconv/' ${WRKSRC}/configure
23
24
.include <bsd.port.post.mk>
(-)deskutils/owncloudclient/Makefile (-1 / +2 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	owncloudclient
4
PORTNAME=	owncloudclient
5
PORTVERSION=	1.8.4
5
PORTVERSION=	1.8.4
6
PORTREVISION=	1
6
CATEGORIES=	deskutils
7
CATEGORIES=	deskutils
7
MASTER_SITES=	http://download.owncloud.com/desktop/stable/
8
MASTER_SITES=	http://download.owncloud.com/desktop/stable/
8
9
Lines 14-20 LICENSE= GPLv2 Link Here
14
LIB_DEPENDS=	libinotify.so:${PORTSDIR}/devel/libinotify \
15
LIB_DEPENDS=	libinotify.so:${PORTSDIR}/devel/libinotify \
15
		libqt5keychain.so:${PORTSDIR}/security/qtkeychain-qt5
16
		libqt5keychain.so:${PORTSDIR}/security/qtkeychain-qt5
16
17
17
USES=		cmake:outsource compiler:c++11-lib gmake pkgconfig tar:xz
18
USES=		cmake:outsource compiler:c++11-lib gmake iconv pkgconfig tar:xz
18
USE_QT5=	buildtools_build concurrent core dbus gui linguist_build network \
19
USE_QT5=	buildtools_build concurrent core dbus gui linguist_build network \
19
		qmake_build webkit xml
20
		qmake_build webkit xml
20
USE_OPENSSL=	yes
21
USE_OPENSSL=	yes
(-)deskutils/owncloudclient/files/patch-cmake-modules-FindIconv.cmake (+13 lines)
Line 0 Link Here
1
--- cmake/modules/FindIconv.cmake.orig	2015-07-09 17:51:37 UTC
2
+++ cmake/modules/FindIconv.cmake
3
@@ -36,9 +36,7 @@ find_library(ICONV_LIBRARY
4
 )
5
 
6
 if (ICONV_LIBRARY)
7
-    get_filename_component(_ICONV_NAME ${ICONV_LIBRARY} NAME)
8
-    get_filename_component(_ICONV_PATH ${ICONV_LIBRARY} PATH)
9
-    check_library_exists(${_ICONV_NAME} iconv ${_ICONV_PATH} HAVE_ICONV)
10
+    set(HAVE_ICONV TRUE)
11
 else()
12
     check_function_exists(iconv HAVE_ICONV)
13
 endif()
(-)emulators/vmw/Makefile (-2 / +3 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	vmw
3
PORTNAME=	vmw
4
PORTVERSION=	060510
4
PORTVERSION=	060510
5
PORTREVISION=	1
5
CATEGORIES=	emulators
6
CATEGORIES=	emulators
6
MASTER_SITES=	http://sites.google.com/site/chitchatvmback/storage/
7
MASTER_SITES=	http://sites.google.com/site/chitchatvmback/storage/
7
8
Lines 33-39 PLIST_FILES+= sbin/${i} Link Here
33
.if !exists(/usr/lib32/libc.so)
34
.if !exists(/usr/lib32/libc.so)
34
IGNORE=		please install lib32
35
IGNORE=		please install lib32
35
.endif
36
.endif
36
.if ${OSVERSION} < 1000000
37
.if !empty(ICONV_LIB)
37
IGNORE=		needs 32bit libiconv
38
IGNORE=		needs 32bit libiconv
38
.endif
39
.endif
39
CFLAGS+=	-m32
40
CFLAGS+=	-m32
Lines 42-48 LDFLAGS+= -m32 -B/usr/lib32 -L/usr/lib32 Link Here
42
LD=	${CC}
43
LD=	${CC}
43
.endif
44
.endif
44
45
45
.if ${OSVERSION} > 1000000
46
.if empty(ICONV_LIB)
46
FTPLIB=
47
FTPLIB=
47
MAKE_ENV+=	FTPLIB="${FTPLIB}"
48
MAKE_ENV+=	FTPLIB="${FTPLIB}"
48
.endif
49
.endif
(-)emulators/vmw/files/patch-vmshf.c (+17 lines)
Line 0 Link Here
1
--- vmshf.c.orig	2006-05-10 04:36:12 UTC
2
+++ vmshf.c
3
@@ -306,14 +306,7 @@ static uint32_t LocalToUtf8(char *dst, c
4
 	unix systems with iconv.h
5
 	-- use iconv() for code conversion
6
 */
7
-#ifdef __FreeBSD__
8
-#include <sys/types.h>
9
-#include <sys/iconv.h>
10
-typedef size_t iconv_t;
11
-#else	/* __FreeBSD__ */
12
 #include <iconv.h>
13
-#endif	/* __FreeBSD__ */
14
-
15
 #include <langinfo.h>
16
 #include <locale.h>
17
 #include <strings.h>
(-)irc/scrollz/Makefile (+1 lines)
Lines 18-23 LICENSE_FILE= ${WRKSRC}/COPYRIGHT Link Here
18
USES=		gmake iconv ncurses
18
USES=		gmake iconv ncurses
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--enable-ipv6 --enable-regexp --enable-utf8
20
CONFIGURE_ARGS=	--enable-ipv6 --enable-regexp --enable-utf8
21
CONFIGURE_ENV=	ac_cv_func_iconv_open=yes
21
22
22
PLIST_SUB=	SCROLLZ_VER="${PORTVERSION}"
23
PLIST_SUB=	SCROLLZ_VER="${PORTVERSION}"
23
24
(-)japanese/chasen-base/Makefile (-1 / +6 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	chasen
4
PORTNAME=	chasen
5
PORTVERSION=	2.4.5
5
PORTVERSION=	2.4.5
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	japanese textproc
7
CATEGORIES=	japanese textproc
8
MASTER_SITES=	SOURCEFORGE_JP/chasen-legacy/56305
8
MASTER_SITES=	SOURCEFORGE_JP/chasen-legacy/56305
9
PKGNAMESUFFIX=	-base
9
PKGNAMESUFFIX=	-base
Lines 21-26 INSTALL_TARGET= install-strip Link Here
21
21
22
OPTIONS_DEFINE=	DOCS
22
OPTIONS_DEFINE=	DOCS
23
23
24
post-patch:
25
	@${REINPLACE_CMD} \
26
		-e 's/iconv ()/libiconv ()/' \
27
		-e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
28
24
post-install:
29
post-install:
25
	${MKDIR} ${STAGEDIR}${PREFIX}/share/chasen/dic
30
	${MKDIR} ${STAGEDIR}${PREFIX}/share/chasen/dic
26
	${MKDIR} ${STAGEDIR}${DOCSDIR}
31
	${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)net/c3270/Makefile (-1 / +1 lines)
Lines 15-21 COMMENT= Full-screen curses-based remote Link Here
15
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([0-9]\.[0-9])(\..*)/\1/}
15
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([0-9]\.[0-9])(\..*)/\1/}
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
CONFIGURE_ARGS=	ac_cv_search_libiconv=no
18
CONFIGURE_ARGS=	ac_cv_search_libiconv=${ICONV_LIB}
19
19
20
USES=		iconv readline gmake
20
USES=		iconv readline gmake
21
USE_OPENSSL=	yes
21
USE_OPENSSL=	yes
(-)www/htmlcxx/Makefile (-1 / +3 lines)
Lines 24-29 MAKE_JOBS_UNSAFE=yes Link Here
24
MAKE_ARGS=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"
24
MAKE_ARGS=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"
25
25
26
post-patch:
26
post-patch:
27
	@${REINPLACE_CMD} 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
27
	@${REINPLACE_CMD} \
28
		-e 's/iconv_open/libiconv_open/' \
29
		-e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
28
30
29
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)www/httrack/Makefile (-8 / +4 lines)
Lines 35-52 SHEBANG_FILES= src/webhttrack Link Here
35
35
36
ICONS_VARS=	INSTALLS_ICONS=yes
36
ICONS_VARS=	INSTALLS_ICONS=yes
37
37
38
.include <bsd.port.pre.mk>
39
40
.if empty(ICONV_LIB)
41
CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv=no
42
.endif
43
44
post-patch:
38
post-patch:
45
	@${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/ s|-O -g3 ||g' ${WRKSRC}/configure
39
	@${REINPLACE_CMD} \
40
		-e 's/iconv ()/libiconv ()/' \
41
		-e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
46
	@${REINPLACE_CMD} -e '/ install-data-hook/d' ${WRKSRC}/html/Makefile.in
42
	@${REINPLACE_CMD} -e '/ install-data-hook/d' ${WRKSRC}/html/Makefile.in
47
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/html/server/div/WebHTTrack*
43
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/html/server/div/WebHTTrack*
48
44
49
post-install:
45
post-install:
50
	${INSTALL_DATA} ${WRKSRC}/html/httrack.css ${STAGEDIR}${DOCSDIR}/httrack.css
46
	${INSTALL_DATA} ${WRKSRC}/html/httrack.css ${STAGEDIR}${DOCSDIR}/httrack.css
51
47
52
.include <bsd.port.post.mk>
48
.include <bsd.port.mk>
(-)www/xapian-omega/Makefile (-1 / +1 lines)
Lines 37-44 PORTEXAMPLES= omega.conf Link Here
37
37
38
SHEBANG_FILES=	dbi2omega htdig2omega mbox2omega
38
SHEBANG_FILES=	dbi2omega htdig2omega mbox2omega
39
39
40
ICONV_CONFIGURE_ON=	ac_cv_search_iconv=${ICONV_LIB}
40
ICONV_CONFIGURE_WITH=	iconv
41
ICONV_CONFIGURE_WITH=	iconv
41
ICONV_LDFLAGS=		${ICONV_LIB}
42
ICONV_USES=		iconv
42
ICONV_USES=		iconv
43
43
44
post-patch:
44
post-patch:
(-)x11/mrxvt/Makefile (-15 / +13 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	mrxvt
4
PORTNAME=	mrxvt
5
PORTVERSION=	0.4.2
5
PORTVERSION=	0.4.2
6
PORTREVISION=	9
6
PORTREVISION=	10
7
CATEGORIES=	x11
7
CATEGORIES=	x11
8
MASTER_SITES=	SF/materm/${PORTNAME}%20source/${PORTVERSION}
8
MASTER_SITES=	SF/materm/${PORTNAME}%20source/${PORTVERSION}
9
EXTRACT_SUFX=	.tgz
9
EXTRACT_SUFX=	.tgz
Lines 16-21 LIB_DEPENDS= libpng.so:${PORTSDIR}/graph Link Here
16
CONFLICTS=	mrxvt-0.5.*
16
CONFLICTS=	mrxvt-0.5.*
17
17
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS=	--disable-lastlog --disable-wtmp
20
CPPFLAGS+=	-I${LOCALBASE}/include
21
LIBS+=		-L${LOCALBASE}/lib
19
USES=		jpeg
22
USES=		jpeg
20
USE_XORG=	x11
23
USE_XORG=	x11
21
24
Lines 25-39 JAPANESE_CONFIGURE_ON= --enable-xim --en Link Here
25
XFT_LIB_DEPENDS=	libXft.so:${PORTSDIR}/x11-fonts/libXft
28
XFT_LIB_DEPENDS=	libXft.so:${PORTSDIR}/x11-fonts/libXft
26
XFT_CONFIGURE_ENABLE=	xft
29
XFT_CONFIGURE_ENABLE=	xft
27
30
28
.include <bsd.port.pre.mk>
29
30
.if ${OSVERSION} >= 900007
31
CONFIGURE_ARGS+=	--disable-lastlog --disable-wtmp
32
.endif
33
34
CPPFLAGS+=	-I${LOCALBASE}/include
35
LIBS+=		-L${LOCALBASE}/lib
36
37
PORTDOCS=	TIPS \
31
PORTDOCS=	TIPS \
38
		README.greek \
32
		README.greek \
39
		README.menu \
33
		README.menu \
Lines 43-56 PORTDOCS= TIPS \ Link Here
43
		mrxvt.vbs \
37
		mrxvt.vbs \
44
		mrxvtset.pl
38
		mrxvtset.pl
45
39
40
.include <bsd.port.options.mk>
46
41
47
.if empty(PORT_OPTIONS:MDOCS)
42
.if ${PORT_OPTIONS:MXFT} && ${PORT_OPTIONS:MJAPANESE}
48
post-patch:
43
USES+=		iconv
49
	@${REINPLACE_CMD} -e '/^\(install-data-am:\).*/ \
50
		s/install-docDATA //' ${WRKSRC}/doc/Makefile.in
51
.endif
44
.endif
52
45
46
post-patch:
47
	@${REINPLACE_CMD} \
48
		-e 's/iconv_open/libiconv_open/' \
49
		-e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
50
53
post-install:
51
post-install:
54
	${CHMOD} 4511 ${STAGEDIR}${PREFIX}/bin/mrxvt
52
	${CHMOD} 4511 ${STAGEDIR}${PREFIX}/bin/mrxvt
55
53
56
.include <bsd.port.post.mk>
54
.include <bsd.port.mk>
(-)x11/mrxvt-devel/Makefile (-1 / +10 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	mrxvt-devel
4
PORTNAME=	mrxvt-devel
5
PORTVERSION=	0.5.4
5
PORTVERSION=	0.5.4
6
PORTREVISION=	10
6
PORTREVISION=	11
7
CATEGORIES=	x11
7
CATEGORIES=	x11
8
MASTER_SITES=	SF/materm/mrxvt%20source/${PORTVERSION}
8
MASTER_SITES=	SF/materm/mrxvt%20source/${PORTVERSION}
9
DISTNAME=	mrxvt-${PORTVERSION}
9
DISTNAME=	mrxvt-${PORTVERSION}
Lines 58-63 USE_XORG+= xft Link Here
58
CONFIGURE_ARGS+=	--enable-xft
58
CONFIGURE_ARGS+=	--enable-xft
59
.endif
59
.endif
60
60
61
.if ${PORT_OPTIONS:MXFT} && ${PORT_OPTIONS:MJAPANESE}
62
USES+=		iconv
63
.endif
64
61
.if ${PORT_OPTIONS:M24BITS}
65
.if ${PORT_OPTIONS:M24BITS}
62
CONFIGURE_ARGS+=	--enable-24bits
66
CONFIGURE_ARGS+=	--enable-24bits
63
.endif
67
.endif
Lines 124-129 CONFIGURE_ARGS+= --with-atab-extra=${EXT Link Here
124
CONFIGURE_ARGS+=	--with-tab-radius=${TAB_RADIUS:M[0-9]*}
128
CONFIGURE_ARGS+=	--with-tab-radius=${TAB_RADIUS:M[0-9]*}
125
.endif
129
.endif
126
130
131
post-patch:
132
	@${REINPLACE_CMD} \
133
		-e 's/iconv_open/libiconv_open/' \
134
		-e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
135
127
do-install:
136
do-install:
128
	${INSTALL_PROGRAM} ${WRKSRC}/src/mrxvt ${STAGEDIR}${PREFIX}/bin
137
	${INSTALL_PROGRAM} ${WRKSRC}/src/mrxvt ${STAGEDIR}${PREFIX}/bin
129
	@for pixmap in ${WRKSRC}/share/pixmaps/* ; \
138
	@for pixmap in ${WRKSRC}/share/pixmaps/* ; \
(-)x11/x3270/Makefile (-1 / +1 lines)
Lines 23-29 USE_XORG= ice sm x11 xaw xext xmu xt Link Here
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS=	--with-fontdir=${FONTSDIR} \
24
CONFIGURE_ARGS=	--with-fontdir=${FONTSDIR} \
25
		--disable-dbcs \
25
		--disable-dbcs \
26
		ac_cv_search_libiconv=no
26
		ac_cv_search_libiconv=${ICONV_LIB}
27
CPPFLAGS+=	-I${LOCALBASE}/include
27
CPPFLAGS+=	-I${LOCALBASE}/include
28
LIBS+=		-L${LOCALBASE}/lib
28
LIBS+=		-L${LOCALBASE}/lib
29
.if defined(WITHOUT_OPENSSL)
29
.if defined(WITHOUT_OPENSSL)

Return to bug 202838