aboutsummaryrefslogtreecommitdiff
path: root/lang/libutils
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-07-24 11:47:28 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-07-24 11:47:28 +0000
commit9dfb962cb472b86f314ff5baa6865f76d353cc1b (patch)
tree431fadb737772b014c0e3f01095c950f5487dc78 /lang/libutils
parent6af6ffa3e2a25fe85cacdd0b40b69b6d8abc40d2 (diff)
downloadports-9dfb962cb472b86f314ff5baa6865f76d353cc1b.tar.gz
ports-9dfb962cb472b86f314ff5baa6865f76d353cc1b.zip
- Support CFLAGS properly
- Do not install useless .la files PR: 54803 Submitted by: KATO Tsuguru <tkato@prontomail.com> Approved by: fjoe (mentor) (implicit)
Notes
Notes: svn path=/head/; revision=85516
Diffstat (limited to 'lang/libutils')
-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