aboutsummaryrefslogtreecommitdiff
path: root/comms/gnokii
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-06-06 17:06:21 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-06-06 17:06:21 +0000
commitf3bc8eae1b248f7ea748a805dc80cc5d295894fd (patch)
tree10b0869754921722180e226bc71e9d79d76d962e /comms/gnokii
parent40bb3bcd1f90e645751db09a8cce1c41872f4610 (diff)
downloadports-f3bc8eae1b248f7ea748a805dc80cc5d295894fd.tar.gz
ports-f3bc8eae1b248f7ea748a805dc80cc5d295894fd.zip
Notes
Diffstat (limited to 'comms/gnokii')
-rw-r--r--comms/gnokii/Makefile1
-rw-r--r--comms/gnokii/files/patch-configure33
2 files changed, 33 insertions, 1 deletions
diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile
index 4ecf7e3149b4..5d7aacce74a8 100644
--- a/comms/gnokii/Makefile
+++ b/comms/gnokii/Makefile
@@ -31,6 +31,7 @@ CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE} --enable-security \
CONFIGURE_ENV+= MSGFMT="${LOCALBASE}/bin/msgfmt" \
XGETTEXT="${LOCALBASE}/bin/xgettext" \
CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include -fPIC" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-L../common -L${LOCALBASE}/lib" \
PKG_CONFIG="${LOCALBASE}/bin/pkg-config"
diff --git a/comms/gnokii/files/patch-configure b/comms/gnokii/files/patch-configure
index b76c8a4185a7..4ef4a5e408e0 100644
--- a/comms/gnokii/files/patch-configure
+++ b/comms/gnokii/files/patch-configure
@@ -1,5 +1,5 @@
--- configure.orig 2008-10-06 08:57:27.000000000 +0200
-+++ configure 2009-02-26 17:21:58.000000000 +0100
++++ configure 2009-06-06 10:08:00.153654659 +0200
@@ -1057,7 +1057,7 @@
psdir='${docdir}'
libdir='${exec_prefix}/lib'
@@ -9,6 +9,37 @@
ac_prev=
ac_dashdash=
+@@ -8050,18 +8050,18 @@
+ fi
+
+
+-{ echo "$as_me:$LINENO: checking if building on FreeBSD" >&5
+-echo $ECHO_N "checking if building on FreeBSD... $ECHO_C" >&6; }
+-
+-if test `uname -s` = "FreeBSD" ; then
+- { echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6; }
+- CPPFLAGS="$CFLAGS -I/usr/local/include"
+- LDFLAGS="$LDFLAGS -L/usr/local/lib"
+-else
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
+-fi
++#{ echo "$as_me:$LINENO: checking if building on FreeBSD" >&5
++#echo $ECHO_N "checking if building on FreeBSD... $ECHO_C" >&6; }
++#
++#if test `uname -s` = "FreeBSD" ; then
++# { echo "$as_me:$LINENO: result: yes" >&5
++#echo "${ECHO_T}yes" >&6; }
++# CPPFLAGS="$CFLAGS -I/usr/local/include"
++# LDFLAGS="$LDFLAGS -L/usr/local/lib"
++#else
++# { echo "$as_me:$LINENO: result: no" >&5
++#echo "${ECHO_T}no" >&6; }
++#fi
+
+
+
@@ -24163,13 +24163,15 @@
# First of all, check if the user has set any of the PTHREAD_LIBS,
# etcetera environment variables, and if threads linking works using