diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2012-07-30 10:29:32 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2012-07-30 10:29:32 +0000 |
commit | c5274f9bdbbe5d1728b082e6b63a9c7ef5e2060c (patch) | |
tree | bdb1aa37ee51d0eef8fa14211a3e3c6359897bd6 /sysutils/logstalgia | |
parent | ba7b51e86dd1e8fbda58be67fc065c1784d82ca0 (diff) | |
download | ports-c5274f9bdbbe5d1728b082e6b63a9c7ef5e2060c.tar.gz ports-c5274f9bdbbe5d1728b082e6b63a9c7ef5e2060c.zip |
Notes
Diffstat (limited to 'sysutils/logstalgia')
-rw-r--r-- | sysutils/logstalgia/Makefile | 3 | ||||
-rw-r--r-- | sysutils/logstalgia/files/patch-configure | 57 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sysutils/logstalgia/Makefile b/sysutils/logstalgia/Makefile index 0d560f1075ca..3b62d74a8315 100644 --- a/sysutils/logstalgia/Makefile +++ b/sysutils/logstalgia/Makefile @@ -22,8 +22,11 @@ LIB_DEPENDS= ftgl:${PORTSDIR}/graphics/ftgl \ pcre.1:${PORTSDIR}/devel/pcre GNU_CONFIGURE= yes +USE_PKGCONFIG= build USE_SDL= sdl image +CFLAGS+= -L/usr/local/lib -I/usr/local/include + MANCOMPRESSED= yes MAKE_JOBS_SAFE= yes diff --git a/sysutils/logstalgia/files/patch-configure b/sysutils/logstalgia/files/patch-configure new file mode 100644 index 000000000000..af7e1dffad23 --- /dev/null +++ b/sysutils/logstalgia/files/patch-configure @@ -0,0 +1,57 @@ +--- ./configure.orig 2012-07-30 12:15:02.000000000 +0200 ++++ ./configure 2012-07-30 12:16:02.000000000 +0200 +@@ -6658,12 +6658,12 @@ + pkg_cv_FTGL_CFLAGS="$FTGL_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ftgl >= 2.1.3\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "ftgl >= 2.1.3") 2>&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ftgl >= 2.0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "ftgl >= 2.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_FTGL_CFLAGS=`$PKG_CONFIG --cflags "ftgl >= 2.1.3" 2>/dev/null` ++ pkg_cv_FTGL_CFLAGS=`$PKG_CONFIG --cflags "ftgl >= 2.0.0" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -6676,12 +6676,12 @@ + pkg_cv_FTGL_LIBS="$FTGL_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ftgl >= 2.1.3\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "ftgl >= 2.1.3") 2>&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ftgl >= 2.0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "ftgl >= 2.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_FTGL_LIBS=`$PKG_CONFIG --libs "ftgl >= 2.1.3" 2>/dev/null` ++ pkg_cv_FTGL_LIBS=`$PKG_CONFIG --libs "ftgl >= 2.0.0" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -6700,18 +6700,18 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- FTGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ftgl >= 2.1.3"` ++ FTGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ftgl >= 2.0.0"` + else +- FTGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ftgl >= 2.1.3"` ++ FTGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ftgl >= 2.0.0"` + fi + # Put the nasty error message in config.log where it belongs + echo "$FTGL_PKG_ERRORS" >&5 + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } +- as_fn_error $? "FTGL 2.1.3 or greater is required. Please see INSTALL" "$LINENO" 5 ++ as_fn_error $? "FTGL 2.0.0 or greater is required. Please see INSTALL" "$LINENO" 5 + elif test $pkg_failed = untried; then +- as_fn_error $? "FTGL 2.1.3 or greater is required. Please see INSTALL" "$LINENO" 5 ++ as_fn_error $? "FTGL 2.0.0 or greater is required. Please see INSTALL" "$LINENO" 5 + else + FTGL_CFLAGS=$pkg_cv_FTGL_CFLAGS + FTGL_LIBS=$pkg_cv_FTGL_LIBS |