From b04df6af6207253d96a497a4277b33db30dafdd3 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 1 Nov 1999 00:58:47 +0000 Subject: Add '-lpng' for linking the against the static libgd.a. --- german/webalizer/Makefile | 3 ++- german/webalizer/files/patch-ae | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 german/webalizer/files/patch-ae (limited to 'german/webalizer') diff --git a/german/webalizer/Makefile b/german/webalizer/Makefile index 10012e298257..48eb8cb994fe 100644 --- a/german/webalizer/Makefile +++ b/german/webalizer/Makefile @@ -14,13 +14,14 @@ EXTRACT_SUFX= .tgz MAINTAINER= dirk.meyer@dinoex.sub.org -LIB_DEPENDS= gd.0:${PORTSDIR}/graphics/gd +BUILD_DEPENDS= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd WEBALIZER_LANG= german GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-gdlib=${PREFIX}/lib \ --with-gd=${PREFIX}/include/gd \ --with-language=${WEBALIZER_LANG} +CONFIGURE_ENV+= LDFLAGS="-L${PREFIX}/lib" BIN1= de-webalizer MAN1= de-webalizer.1 DOC1= CHANGES COPYING Copyright INSTALL \ diff --git a/german/webalizer/files/patch-ae b/german/webalizer/files/patch-ae new file mode 100644 index 000000000000..37d3c44363f2 --- /dev/null +++ b/german/webalizer/files/patch-ae @@ -0,0 +1,11 @@ +--- configure.orig Wed Oct 27 18:18:41 1999 ++++ configure Wed Oct 27 18:18:52 1999 +@@ -1054,7 +1054,7 @@ + fi + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 +- LIBS="-lgd ${LIBS}"; HAVE_LIBGD="yes" ++ LIBS="-lgd -lpng ${LIBS}"; HAVE_LIBGD="yes" + else + echo "$ac_t""no" 1>&6 + HAVE_LIBGD="" -- cgit v1.2.3