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

(-)kwebget/Makefile (-9 / +5 lines)
Lines 21-36 Link Here
21
USE_GMAKE=	yes
21
USE_GMAKE=	yes
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
WRKSRC=		${WRKDIR}/${PORTNAME}
23
WRKSRC=		${WRKDIR}/${PORTNAME}
24
CONFIGURE_TARGET=	# empty
24
USE_REINPLACE=	yes
25
CONFIGURE_ARGS+=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
26
25
27
.include <bsd.port.pre.mk>
26
CONFIGURE_TARGET=       --build=${ARCH}-portbld-freebsd${OSREL}
28
29
.if ${OSVERSION} >= 500113
30
BROKEN=         "Does not compile (bad C++ code)"
31
.endif
32
27
33
post-patch:
28
post-patch:
34
	@${PERL} -pi -e 's#lqt#lqt2#g' ${WRKSRC}/configure ${WRKSRC}/kwebget/Makefile.in
29
	@${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \
30
		${WRKSRC}/${CONFIGURE_SCRIPT}
35
31
36
.include <bsd.port.post.mk>
32
.include <bsd.port.mk>
(-)kwebget/files/patch-kwebget.cpp (+11 lines)
Line 0 Link Here
1
--- kwebget/kwebget.cpp.orig	Sat Oct 18 18:26:29 2003
2
+++ kwebget/kwebget.cpp	Sat Oct 18 18:26:50 2003
3
@@ -15,6 +15,8 @@
4
  *                                                                         *
5
  ***************************************************************************/
6
 
7
+#include <stdlib.h>
8
+
9
 #include "kwebget.h"
10
 
11
 #include "../pics/bg.xpm"

Return to bug 58226