aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2018-11-13 18:39:05 +0000
committerThierry Thomas <thierry@FreeBSD.org>2018-11-13 18:39:05 +0000
commitbcb83c24c117643b4f8805531f154203c10abd7a (patch)
tree826dbfcfb5d4e8b4236a9b73d2ef77ce5686cc7b /news
parent15c1b86206e403c9db691dad703989b182550805 (diff)
downloadports-bcb83c24c117643b4f8805531f154203c10abd7a.tar.gz
ports-bcb83c24c117643b4f8805531f154203c10abd7a.zip
Notes
Diffstat (limited to 'news')
-rw-r--r--news/newsx/Makefile7
-rw-r--r--news/newsx/files/patch-configure38
-rw-r--r--news/newsx/pkg-descr2
3 files changed, 43 insertions, 4 deletions
diff --git a/news/newsx/Makefile b/news/newsx/Makefile
index 113b0a627e11..70e6d73330cc 100644
--- a/news/newsx/Makefile
+++ b/news/newsx/Makefile
@@ -3,7 +3,7 @@
PORTNAME= newsx
PORTVERSION= 1.6
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= news
MASTER_SITES= http://www.kvaleberg.org/pub/
@@ -15,7 +15,8 @@ LICENSE= GPLv2
.if defined(WITH_CNEWS)
BUILD_DEPENDS= ${LOCALBASE}/news/lib/libcnews.a:news/cnews
.elif !defined(WITHOUT_INN_2-X)
-BUILD_DEPENDS= ${LOCALBASE}/news/lib/libinn.a:news/inn
+BUILD_DEPENDS= ${LOCALBASE}/news/lib/libinn.so:news/inn
+RUN_DEPENDS= ${LOCALBASE}/news/lib/libinn.so:news/inn
.endif
GNU_CONFIGURE= yes
@@ -26,7 +27,7 @@ OPTIONS_DEFINE= DOCS
.if !defined(WITH_CNEWS)
.if !defined(WITHOUT_INN_2-X)
-CPPFLAGS+= -I${LOCALBASE}/news/include
+CPPFLAGS+= -I${LOCALBASE}/news/include/inn
.endif
.endif
diff --git a/news/newsx/files/patch-configure b/news/newsx/files/patch-configure
index 86ad1086213b..f222c49b0fec 100644
--- a/news/newsx/files/patch-configure
+++ b/news/newsx/files/patch-configure
@@ -42,3 +42,41 @@
INN_VERSION="$VERSION"
VERSION="$VERSION_save"
INN_NEWSUMASK=`umask`
+@@ -6568,14 +6573,14 @@ fi
+
+
+ LIBS_save="$LIBS"
+- LIBS="$LIBS -linn -lstorage"
++ LIBS="$LIBS -linn -lstorage -linnhist"
+ echo "$as_me:$LINENO: checking for IsToken in -lstorage" >&5
+ echo $ECHO_N "checking for IsToken in -lstorage... $ECHO_C" >&6
+ if test "${ac_cv_lib_storage_IsToken+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lstorage $LIBS"
++LIBS="-lstorage -linnhist $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -7074,7 +7079,7 @@ if test x$HAVE_GETOPT != x1; then
+ MORELIBS2="$MORELIBS2 ../lib/libgetopt.a"
+ fi
+ if test x$HAVE_LIBINN = x1; then
+- MORELIBS1="$MORELIBS1 -L$NEWSLIB"
++ MORELIBS1="$MORELIBS1 -L$NEWSLIB -Wl,-rpath -Wl,$NEWSLIB"
+ MORELIBS2="$MORELIBS2 -linn"
+
+ cat >>confdefs.h <<_ACEOF
+@@ -7086,9 +7091,9 @@ else
+ fi
+ if test x$HAVE_LIBSTORAGE = x1; then
+ if test x$HAVE_LIBINN != x1; then
+- MORELIBS1="$MORELIBS1 -L$NEWSLIB"
++ MORELIBS1="$MORELIBS1 -L$NEWSLIB -Wl,-rpath -Wl,$NEWSLIB"
+ fi
+- MORELIBS2="-lstorage $MORELIBS2 -lstorage"
++ MORELIBS2="-lstorage $MORELIBS2 -lstorage -linnhist"
+
+ cat >>confdefs.h <<_ACEOF
+ #define HAVE_LIBSTORAGE 1
diff --git a/news/newsx/pkg-descr b/news/newsx/pkg-descr
index d1c27a5a982a..f1086e2d264b 100644
--- a/news/newsx/pkg-descr
+++ b/news/newsx/pkg-descr
@@ -12,4 +12,4 @@ distributed in the usual manner. Since newsx obeys the normal news spool
configuration file and requires little or no specific configuration, the
administrative burden should be minimized.
-WWW: http://www.kvaleberg.com/newsx.html
+WWW: http://www.kvaleberg.no/newsx.html