diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-06-07 01:06:21 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-06-07 01:06:21 +0800 |
commit | 747d37f3e7662a609c2553428b7bb1f7481a6092 (patch) | |
tree | 2814b217f2315e107dc9a90dca047ba51cfe91d4 /comms/gnokii | |
parent | e061fe51435a253e5b63faccc887594aa848418c (diff) | |
download | freebsd-ports-gnome-747d37f3e7662a609c2553428b7bb1f7481a6092.tar.gz freebsd-ports-gnome-747d37f3e7662a609c2553428b7bb1f7481a6092.tar.zst freebsd-ports-gnome-747d37f3e7662a609c2553428b7bb1f7481a6092.zip |
Fix build with custom LOCALBASE.
Submitted by: maintainer
Reported by: QATty
Diffstat (limited to 'comms/gnokii')
-rw-r--r-- | comms/gnokii/Makefile | 1 | ||||
-rw-r--r-- | comms/gnokii/files/patch-configure | 33 |
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 |