mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Try to unbreak parallel builds (-jX) by adding missing dependencies
for static library target - Unbreak configure script against Clang's cpp(1): suppress harmless warning that was treated as an error (=> missing pcre.h) - While here, trim Makefile header, remove defunct mirrors from the MASTER_SITES, convert LIB_DEPENDS and USE_GMAKE, kill spaces at EOL of port description, define LICENSE (LGPL21) Reported by: marino Approved by: miwi, bapt (portmgr, implicit)
This commit is contained in:
parent
cd4364ee40
commit
c151a8243e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324759
4 changed files with 24 additions and 19 deletions
|
@ -1,31 +1,26 @@
|
||||||
# New ports collection makefile for: pcrs
|
# Created by: Ken Wong <wongk@apt.homeunix.net>
|
||||||
# Date created: 31 July 2005
|
|
||||||
# Whom: Ken Wong <wongk@apt.homeunix.net>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= pcrs
|
PORTNAME= pcrs
|
||||||
PORTVERSION= 0.0.3
|
PORTVERSION= 0.0.3
|
||||||
PORTREVISION= 2
|
PORTREVISION= 2
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
MASTER_SITES= http://distfiles.master.finkmirrors.net/\
|
MASTER_SITES= http://distfiles.master.finkmirrors.net/
|
||||||
http://download.mirror.ac.uk/mirror/master.us.finkmirrors.net/distfiles/\
|
|
||||||
http://mirror.phy.olemiss.edu/mirror/fink/distfiles/
|
|
||||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||||
|
|
||||||
MAINTAINER= wongk@apt.homeunix.net
|
MAINTAINER= wongk@apt.homeunix.net
|
||||||
COMMENT= Perl compatible regular expression based substitutions
|
COMMENT= Perl-compatible regular expression based substitutions
|
||||||
|
|
||||||
LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre
|
LICENSE= LGPL21
|
||||||
|
|
||||||
|
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
||||||
|
|
||||||
|
USES= gmake
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
USE_GMAKE= yes
|
|
||||||
|
|
||||||
USE_LDCONFIG= yes
|
|
||||||
|
|
||||||
MAN3= pcrs.3
|
MAN3= pcrs.3
|
||||||
PLIST_FILES= bin/pcrsed \
|
PLIST_FILES= bin/pcrsed \
|
||||||
lib/libpcrs.a \
|
lib/libpcrs.a \
|
||||||
|
|
|
@ -23,7 +23,8 @@
|
||||||
- $(CC) $(CLFLAGS) $(LDFLAGS) $(LIBFLAGS) -Wl,-soname,libpcrs.so.$(VERSION_MAJOR) -o libpcrs.so.$(VERSION) pcrs.@OBJEXT@ $(LIBS)
|
- $(CC) $(CLFLAGS) $(LDFLAGS) $(LIBFLAGS) -Wl,-soname,libpcrs.so.$(VERSION_MAJOR) -o libpcrs.so.$(VERSION) pcrs.@OBJEXT@ $(LIBS)
|
||||||
+ $(CC) $(CFLAGS) $(LDFLAGS) $(LIBFLAGS) -Wl,-soname,libpcrs.so.$(VERSION_MAJOR) -o libpcrs.so.$(VERSION_MAJOR) pcrs.@OBJEXT@ $(LIBS)
|
+ $(CC) $(CFLAGS) $(LDFLAGS) $(LIBFLAGS) -Wl,-soname,libpcrs.so.$(VERSION_MAJOR) -o libpcrs.so.$(VERSION_MAJOR) pcrs.@OBJEXT@ $(LIBS)
|
||||||
|
|
||||||
static:
|
-static:
|
||||||
|
+static: pcrs.@OBJEXT@
|
||||||
$(AR) libpcrs.a pcrs.@OBJEXT@
|
$(AR) libpcrs.a pcrs.@OBJEXT@
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
|
|
|
@ -38,3 +38,12 @@
|
||||||
cross_compiling=$ac_cv_prog_cc_cross
|
cross_compiling=$ac_cv_prog_cc_cross
|
||||||
|
|
||||||
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
|
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
|
||||||
|
@@ -1256,7 +1256,7 @@
|
||||||
|
EOF
|
||||||
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
|
{ (eval echo configure:1259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
|
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||||
|
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$" | grep -v warning:`
|
||||||
|
if test -z "$ac_err"; then
|
||||||
|
rm -rf conftest*
|
||||||
|
eval "ac_cv_header_$ac_safe=yes"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
PCRS is a small library, written as a supplement to the PCRE library,
|
PCRS is a small library, written as a supplement to the PCRE library,
|
||||||
that implements regex based substitution with the syntax and semantics
|
that implements regex based substitution with the syntax and semantics
|
||||||
of Perl's s/// operator.
|
of Perl's s/// operator.
|
||||||
|
|
Loading…
Add table
Reference in a new issue