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

(-)Makefile (-4 / +8 lines)
Lines 22-27 Link Here
22
		rrd.0:${PORTSDIR}/net/rrdtool
22
		rrd.0:${PORTSDIR}/net/rrdtool
23
23
24
USE_GETOPT_LONG=	yes
24
USE_GETOPT_LONG=	yes
25
USE_REINPLACE=	yes
26
25
27
26
MAN1=		happystats.1
28
MAN1=		happystats.1
27
MANCOMPRESSED=	yes
29
MANCOMPRESSED=	yes
Lines 29-40 Link Here
29
31
30
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
31
33
32
.if ${OSVERSION} >= 502108
33
BROKEN=		"Does not link on FreeBSD >= 5.x"
34
.endif
35
36
do-configure:
34
do-configure:
37
	@cd ${WRKSRC} && ${MAKE} dep
35
	@cd ${WRKSRC} && ${MAKE} dep
36
37
post-configure:
38
.if ${OSVERSION} > 500041
39
	@${REINPLACE_CMD} -E -e 's|-lgnugetopt||g' \
40
	${WRKSRC}/Makefile
41
.endif
38
42
39
do-install:
43
do-install:
40
	${INSTALL_PROGRAM} ${WRKSRC}/happystats ${PREFIX}/bin
44
	${INSTALL_PROGRAM} ${WRKSRC}/happystats ${PREFIX}/bin

Return to bug 69154