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

(-)graphics/gliv/Makefile (-4 / +7 lines)
Lines 12-19 Link Here
12
12
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
14
15
LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
15
LIB_DEPENDS=	gtkgl-2.0.1:${PORTSDIR}/x11-toolkits/gtkglarea2
16
		gtkgl-2.0.1:${PORTSDIR}/x11-toolkits/gtkglarea2
17
RUN_DEPENDS=	${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
16
RUN_DEPENDS=	${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
18
17
19
USE_BZIP2=	yes
18
USE_BZIP2=	yes
Lines 26-33 Link Here
26
MAN1=		gliv.1
25
MAN1=		gliv.1
27
26
28
CPPFLAGS=	-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
27
CPPFLAGS=	-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
29
LDFLAGS=	-L${LOCALBASE}/lib -L${X11BASE}/lib -lXext -lX11 -lgnugetopt \
28
LDFLAGS=	-L${LOCALBASE}/lib -L${X11BASE}/lib -lXext -lX11 ${PTHREAD_LIBS}
30
		${PTHREAD_LIBS}
29
30
.if !exists(/usr/include/getopt.h)
31
LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
32
LDFLAGS+=	-lgnugetopt
33
.endif
31
34
32
post-patch:
35
post-patch:
33
	@${REINPLACE_CMD} -e 's|LDFLAGS="[\$$]CFLAGS|LDFLAGS="\$$LDFLAGS|g ; \
36
	@${REINPLACE_CMD} -e 's|LDFLAGS="[\$$]CFLAGS|LDFLAGS="\$$LDFLAGS|g ; \

Return to bug 47333