aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-04-11 05:38:12 +0800
committerkrion <krion@FreeBSD.org>2005-04-11 05:38:12 +0800
commit71b3b6d14d1185a3108eb659bf2bbe5e4507c415 (patch)
tree1076b690ecb55ecf5d1acd003bc0fd1ef1715ab3 /net
parentc3ed64512c76740a8ef9ca2eb235e6e4c69e98a4 (diff)
downloadfreebsd-ports-gnome-71b3b6d14d1185a3108eb659bf2bbe5e4507c415.tar.gz
freebsd-ports-gnome-71b3b6d14d1185a3108eb659bf2bbe5e4507c415.tar.zst
freebsd-ports-gnome-71b3b6d14d1185a3108eb659bf2bbe5e4507c415.zip
Fix build on amd64.
Diffstat (limited to 'net')
-rw-r--r--net/rrdtool/Makefile2
-rw-r--r--net/rrdtool10/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/rrdtool/Makefile b/net/rrdtool/Makefile
index 0caf8c65cc48..501cf6d0ebba 100644
--- a/net/rrdtool/Makefile
+++ b/net/rrdtool/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ARGS= --enable-shared --enable-local-zlib \
--program-transform-name=''
CONFIGURE_ENV= PERL=${PERL}
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -fPIC
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS:= ${CFLAGS:N-ffast-math}
diff --git a/net/rrdtool10/Makefile b/net/rrdtool10/Makefile
index 0caf8c65cc48..501cf6d0ebba 100644
--- a/net/rrdtool10/Makefile
+++ b/net/rrdtool10/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ARGS= --enable-shared --enable-local-zlib \
--program-transform-name=''
CONFIGURE_ENV= PERL=${PERL}
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -fPIC
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS:= ${CFLAGS:N-ffast-math}