Fake, fix gtk location.

This commit is contained in:
espie 2000-03-08 02:46:02 +00:00
parent 01305f05b6
commit 6c779d0733
2 changed files with 42 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.35 2000/03/05 18:30:28 espie Exp $
# $OpenBSD: Makefile,v 1.36 2000/03/08 02:46:02 espie Exp $
DISTNAME= gimp-1.1.17
CATEGORIES= graphics
@ -24,11 +24,12 @@ LIB_DEPENDS= gtk.1.2:x11/gtk+ \
USE_GMAKE= Yes
GNU_CONFIGURE= Yes
FAKE= Yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --disable-perl
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
GTK_CONFIG="${X11BASE}/bin/gtk-config"
GTK_CONFIG="${LOCALBASE}/bin/gtk-config"
# People that installed an older version of gimp 1.1.x wound up with
# shared libs with a major/minor of 1.3 or 1.4 ... these files
@ -51,6 +52,5 @@ pre-extract:
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/aclocal
${INSTALL_DATA} ${WRKSRC}/gimp.m4 ${PREFIX}/share/aclocal
@${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- po/Makefile.in.in.orig Sat Jul 17 13:59:42 1999
+++ po/Makefile.in.in Thu Jul 22 00:39:00 1999
--- po/Makefile.in.in.orig Fri Feb 11 19:31:57 2000
+++ po/Makefile.in.in Wed Mar 8 02:20:42 2000
@@ -18,7 +18,7 @@
prefix = @prefix@
@ -9,3 +9,40 @@
localedir = $(datadir)/locale
gnulocaledir = $(prefix)/share/locale
gettextsrcdir = $(prefix)/share/gettext/po
@@ -111,9 +111,9 @@
install-data-no: all
install-data-yes: all
if test -r "$(MKINSTALLDIRS)"; then \
- $(MKINSTALLDIRS) $(datadir); \
+ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
else \
- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
fi
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
@@ -123,7 +123,7 @@
*) destdir=$(localedir);; \
esac; \
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
- dir=$$destdir/$$lang/LC_MESSAGES; \
+ dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $$dir; \
else \
@@ -153,12 +153,12 @@
done
if test "$(PACKAGE)" = "gettext"; then \
if test -r "$(MKINSTALLDIRS)"; then \
- $(MKINSTALLDIRS) $(gettextsrcdir); \
+ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
else \
- $(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
fi; \
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
- $(gettextsrcdir)/Makefile.in.in; \
+ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
else \
: ; \
fi