Fix build with gtk+-2.4.
Reported by: bento via kris
This commit is contained in:
parent
dfd8e50853
commit
ebcf708742
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106536
1 changed files with 5 additions and 0 deletions
|
@ -20,7 +20,12 @@ USE_X_PREFIX= yes
|
|||
USE_GNOME= gnomeprefix gnomehack libgnomeui
|
||||
USE_LIBTOOL_VER=13
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_REINPLACE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -Ee \
|
||||
's|-D[^[:space:]_]+_DISABLE_DEPRECATED||g'
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue