mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Rearrange USE_GNOME
PR: 55151 Submitted by: Ports Fury Approved by: fjoe (mentor) (implicit)
This commit is contained in:
parent
de3c7785c7
commit
ed75b9f28e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86141
1 changed files with 3 additions and 10 deletions
|
@ -17,18 +17,11 @@ LIB_DEPENDS= morph.0:${PORTSDIR}/graphics/libmorph \
|
||||||
gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
|
gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
|
||||||
|
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_GMAKE= yes
|
|
||||||
USE_MESA= yes
|
USE_MESA= yes
|
||||||
USE_GNOME= yes
|
USE_GNOME= gnomehack gnomelibs gnomeprefix
|
||||||
|
USE_GMAKE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
LIBS="-L${LOCALBASE}/lib"
|
LDFLAGS="-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'
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue