- Support CFLAGS properly

- Do not install useless .la files

PR:		54803
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
Approved by:	fjoe (mentor) (implicit)
This commit is contained in:
Kirill Ponomarev 2003-07-24 11:47:28 +00:00
parent 6af6ffa3e2
commit 9dfb962cb4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85516
3 changed files with 15 additions and 3 deletions

View file

@ -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

View file

@ -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'

View file

@ -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