- Rearrange USE_GNOME

PR:		55151
Submitted by:	Ports Fury
Approved by:	fjoe (mentor) (implicit)
This commit is contained in:
Kirill Ponomarev 2003-08-01 18:36:27 +00:00
parent de3c7785c7
commit ed75b9f28e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86141

View file

@ -17,18 +17,11 @@ LIB_DEPENDS= morph.0:${PORTSDIR}/graphics/libmorph \
gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_MESA= yes
USE_GNOME= yes
USE_GNOME= gnomehack gnomelibs gnomeprefix
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>