aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-01 00:58:47 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-01 00:58:47 +0000
commitb04df6af6207253d96a497a4277b33db30dafdd3 (patch)
treeead0a8e3c604e54b3e2ddb01374c971046a0c37b /german
parentfb221cb3873ef77da7f1191bbd393eab7852d2e5 (diff)
downloadports-b04df6af6207253d96a497a4277b33db30dafdd3.tar.gz
ports-b04df6af6207253d96a497a4277b33db30dafdd3.zip
Add '-lpng' for linking the against the static libgd.a.
Notes
Notes: svn path=/head/; revision=22762
Diffstat (limited to 'german')
-rw-r--r--german/webalizer/Makefile3
-rw-r--r--german/webalizer/files/patch-ae11
-rw-r--r--german/webalizer2/Makefile3
3 files changed, 15 insertions, 2 deletions
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=""
diff --git a/german/webalizer2/Makefile b/german/webalizer2/Makefile
index 10012e298257..48eb8cb994fe 100644
--- a/german/webalizer2/Makefile
+++ b/german/webalizer2/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 \