Use USE_GNOMENG.
This commit is contained in:
parent
5f6e596f1c
commit
7a9e2aab56
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63178
1 changed files with 3 additions and 5 deletions
|
@ -22,7 +22,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|||
USE_X_PREFIX= yes
|
||||
USE_PYTHON= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= yes
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= gnomeprefix gnomehack gnomelibs gnomeprint gnomevfs
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-regex
|
||||
|
@ -34,12 +35,9 @@ PYTHON_LIBS= -lssl -lcrypto
|
|||
.endif
|
||||
PYTHON_LIBS+= -lutil -lreadline -lcrypt -lpython
|
||||
|
||||
pre-patch:
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
||||
s|-lpython|${PYTHON_LIBS}|g ; \
|
||||
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
||||
@find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
|
||||
's|[(]datadir[)]/gnome/|(datadir)/|g ; \
|
||||
s|[(]datadir[)]/locale|(prefix)/share/locale|g'
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue