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

(-)graphics/morpheus/Makefile (-10 / +3 lines)
Lines 17-34 Link Here
17
		gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
17
		gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
18
18
19
USE_X_PREFIX=	yes
19
USE_X_PREFIX=	yes
20
USE_GMAKE=	yes
21
USE_MESA=	yes
20
USE_MESA=	yes
22
USE_GNOME=	yes
21
USE_GNOME=	gnomehack gnomelibs gnomeprefix
22
USE_GMAKE=	yes
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
24
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
25
		LIBS="-L${LOCALBASE}/lib"
25
		LDFLAGS="-L${LOCALBASE}/lib"
26
27
pre-patch:
28
	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
29
		s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
30
	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
31
		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
32
		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
33
26
34
.include <bsd.port.mk>
27
.include <bsd.port.mk>

Return to bug 55151