1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Use perl regex to set PTHREAD_CFLAGS in all Makefile.in's.

Use perl regex to acutally install GNOME helppages in proper locations.
Remove files/patch-po::Makefile.in and replace with perl regex.
Bump PORTREVISION due to these changes.

PR:		26449
Submitted by:	Jeremy Norris <ishmael27@home.com> (maintainer)
This commit is contained in:
Alexander Langer 2001-05-09 09:37:08 +00:00
parent 636815cb55
commit 0c1dd8bc5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42445
2 changed files with 10 additions and 13 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= gtk+licq
PORTVERSION= 0.50.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://gtk.licq.org/download/
@ -31,9 +31,17 @@ USE_GNOME= yes
CONFIGURE_ARGS= --enable-gnome
.else
CONFIGURE_ARGS= --disable-gnome
.endif
post-patch:
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL5} -pi -e \
's|-D_REENTRANT|${PTHREAD_CFLAGS} -D_REENTRANT|g ; \
s|^localedir =.*|localedir = \$$(prefix)/share/locale| ; \
s|^gtklicq_helpdir =.*|gtklicq_helpdir = \
\$$(datadir)/help/gtk+licq/C|'
.if !defined(HAVE_GNOME)
@${PERL5} -pi -e \
's|^SUBDIRS\ =.*|SUBDIRS\ =\ |' ${WRKSRC}/doc/Makefile.in
's|^SUBDIRS =.*|SUBDIRS =|' ${WRKSRC}/doc/Makefile.in
.endif
post-configure:

View File

@ -1,11 +0,0 @@
--- po/Makefile.in.in.orig Wed Aug 23 20:00:23 2000
+++ po/Makefile.in.in Sun Oct 15 11:11:11 2000
@@ -19,7 +19,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
datadir = $(prefix)/@DATADIRNAME@
-localedir = $(datadir)/locale
+localedir = $(prefix)/share/locale
gnulocaledir = $(prefix)/share/locale
gettextsrcdir = $(prefix)/share/gettext/po
subdir = po