View | Details | Raw Unified | Return to bug 47231
Collapse All | Expand All

(-)/usr/ports/ftp/gftp/Makefile (-1 / +2 lines)
Lines 21-26 Link Here
21
21
22
USE_GNOMENG=	yes
22
USE_GNOMENG=	yes
23
USE_GNOME+=	gnomehack
23
USE_GNOME+=	gnomehack
24
USE_REINPLACE=	yes
24
25
25
.if defined(WITHOUT_X11)
26
.if defined(WITHOUT_X11)
26
CONFIGURE_ARGS+=	--disable-gtkport --disable-gtk20
27
CONFIGURE_ARGS+=	--disable-gtkport --disable-gtk20
Lines 68-74 Link Here
68
	@${ECHO} ""
69
	@${ECHO} ""
69
70
70
post-patch:
71
post-patch:
71
	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
72
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
72
		 s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
73
		 s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
73
		 s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
74
		 s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
74
		 s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
75
		 s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure

Return to bug 47231