- Rearrange USE_GNOME
PR: 60929 Submitted by: Ports Fury
This commit is contained in:
parent
5d8e0ae0b6
commit
dd5e289094
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97366
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gnomechess
|
||||
PORTVERSION= 0.3.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/gnome-chess/0.3
|
||||
@ -20,17 +21,9 @@ RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= yes
|
||||
USE_PERL5_BUILD=yes
|
||||
USE_GNOME= gnomecanvas gnomehack gnomeprefix libglade
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user