summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/libutils/Makefile6
-rw-r--r--lang/libutils/files/patch-configure10
-rw-r--r--lang/libutils/pkg-plist2
3 files changed, 15 insertions, 3 deletions
diff --git a/lang/libutils/Makefile b/lang/libutils/Makefile
index e7d17540ea03..984a42d16215 100644
--- a/lang/libutils/Makefile
+++ b/lang/libutils/Makefile
@@ -8,6 +8,7 @@
PORTNAME= libutils
PORTVERSION= 1.0.3
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://savannah.gnu.org/download/nsl/ \
http://iling.nw.ru/~artem/downloads/ \
@@ -16,9 +17,10 @@ MASTER_SITES= http://savannah.gnu.org/download/nsl/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Support lib for Tensile/NSL
+USE_GMAKE= yes
USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+MAKE_ARGS= CFLAGS="${CFLAGS}"
INSTALLS_SHLIB= yes
MAN3= libutils.3
diff --git a/lang/libutils/files/patch-configure b/lang/libutils/files/patch-configure
new file mode 100644
index 000000000000..c725d1bc1f35
--- /dev/null
+++ b/lang/libutils/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Wed Jun 11 19:04:47 2003
++++ configure Mon Jul 21 22:58:08 2003
+@@ -8085,6 +8085,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/lang/libutils/pkg-plist b/lang/libutils/pkg-plist
index b35626445802..b544d222d3c0 100644
--- a/lang/libutils/pkg-plist
+++ b/lang/libutils/pkg-plist
@@ -3,6 +3,6 @@ include/gfnmatch.h
include/lists.h
include/util.h
lib/libutils.a
-lib/libutils.la
lib/libutils.so
lib/libutils.so.1
+share/aclocal/libutils.m4