summaryrefslogtreecommitdiffstats
path: root/german
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-01 00:58:47 +0000
committersteve <steve@FreeBSD.org>1999-11-01 00:58:47 +0000
commitc22defc7de1911961c5f3050801e623a53508fe5 (patch)
treed12342d63ced56369912de3a84be367b88021bc7 /german
parent1a13376556e7ba49ba78f5ae7a9985a814766daf (diff)
downloadFreeBSD-ports-c22defc7de1911961c5f3050801e623a53508fe5.zip
FreeBSD-ports-c22defc7de1911961c5f3050801e623a53508fe5.tar.gz
Add '-lpng' for linking the against the static libgd.a.
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 10012e2..48eb8cb 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 0000000..37d3c44
--- /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 10012e2..48eb8cb 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 \
OpenPOWER on IntegriCloud