mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
emulators/advancemess: prepare for freetype2 update
- freetype2 will no longer ship freetype-config (which was a pkg-config wrapper) in the near future -- use pkg-config to gather the required flags. PR: 251512
This commit is contained in:
parent
650ba2880a
commit
de9dca2f74
@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
LIB_DEPENDS= libexpat.so:textproc/expat2
|
||||
RUN_DEPENDS= advancemame>=1.4:emulators/advancemame
|
||||
|
||||
USES= gmake ncurses sdl
|
||||
USES= gmake ncurses pkgconfig sdl
|
||||
USE_SDL= sdl
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-svgalib --disable-fb --disable-alsa --enable-oss \
|
||||
@ -47,6 +47,8 @@ SLANG_LDFLAGS= -lncurses
|
||||
|
||||
BROKEN_powerpc= Does not compile on powerpc
|
||||
|
||||
BINARY_ALIAS= freetype-config=true
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|@@|@|' ${WRKSRC}/Makefile.in
|
||||
|
24
emulators/advancemess/files/patch-configure
Normal file
24
emulators/advancemess/files/patch-configure
Normal file
@ -0,0 +1,24 @@
|
||||
--- configure.orig 2021-08-10 14:17:55 UTC
|
||||
+++ configure
|
||||
@@ -8269,8 +8269,8 @@ done
|
||||
else
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
- FREETYPECFLAGS=`$ac_lib_freetype_config $ac_lib_freetype_args --cflags`
|
||||
- FREETYPELIBS=`$ac_lib_freetype_config $ac_lib_freetype_args --libs`
|
||||
+ FREETYPECFLAGS=`pkg-config freetype2 --cflags`
|
||||
+ FREETYPELIBS=`pkg-config freetype2 --libs`
|
||||
CFLAGS="$FREETYPECFLAGS $CFLAGS"
|
||||
LIBS="$FREETYPELIBS $LIBS"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FreeType2" >&5
|
||||
@@ -8359,8 +8359,8 @@ done
|
||||
else
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
- FREETYPECFLAGS=`$ac_lib_freetype_config $ac_lib_freetype_args --cflags`
|
||||
- FREETYPELIBS=`$ac_lib_freetype_config $ac_lib_freetype_args --libs`
|
||||
+ FREETYPECFLAGS=`pkg-config freetype2 --cflags`
|
||||
+ FREETYPELIBS=`pkg-config freetype2 --libs`
|
||||
CFLAGS="$FREETYPECFLAGS $CFLAGS"
|
||||
LIBS="$FREETYPELIBS $LIBS"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FreeType2" >&5
|
Loading…
Reference in New Issue
Block a user