Skip to content
Permalink
Browse files

Update for new installation changes.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1885 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Eric Melville
Eric Melville committed Jan 25, 2003
1 parent 04e4287 commit 47a4e68ad1f12ba11dea204ba65aaeb3dbcfc4fa
Showing with 7 additions and 6 deletions.
  1. +2 −2 databases/gtksql/Portfile
  2. +5 −4 databases/gtksql/files/patch-Makefile
@@ -13,6 +13,8 @@ maintainers eric@opendarwin.org
master_sites http://membres.lycos.fr/bbrox/GtkSQL/
checksums md5 8f7a0a565e761fb649240cb46d6dd9cb
configure { reinplace "s|XXPREFIX|${prefix}|g" \
"${workpath}/${worksrcdir}/Makefile"
reinplace "s|YYPREFIX|${destroot}${prefix}|g" \
"${workpath}/${worksrcdir}/Makefile" }
depends_lib lib:libpq.2:postgresql \
lib:libgtk.1:gtk
@@ -21,5 +23,3 @@ patchfiles patch-Makefile patch-postgres.c
variant mysql { reinplace "s|^#MYSQL|MYSQL|g" \
"${workpath}/${worksrcdir}/Makefile"
depends_lib-append lib:libmysql.3:databases/mysql }

contents bin/gtksql
@@ -1,5 +1,5 @@
--- Makefile.orig Tue Sep 17 04:08:15 2002
+++ Makefile Tue Sep 17 04:09:16 2002
--- Makefile.orig Sat Jan 25 15:08:12 2003
+++ Makefile Sat Jan 25 15:08:40 2003
@@ -1,17 +1,17 @@
# Your favorite compilation options here :-)
MCFLAGS = -Wall -O -g
@@ -35,12 +35,13 @@

all: $(OBJS)
gcc -o gtksql $(OBJS) $(DBSQLIBS) $(GTKLIBS) $(CFLAGS) $(LDFLAGS)
@@ -34,7 +34,7 @@
@@ -34,7 +34,8 @@
rm -f *.o gtksql

install: all
- cp gtksql $(DESTDIR)usr/bin/
+ install -o root -m 755 -s -c gtksql XXPREFIX/bin
+ install -o root -m 755 -d YYPREFIX/bin
+ install -o root -m 755 -s -c gtksql YYPREFIX/bin

.c.o:
gcc $(CFLAGS) $(GTKCFLAGS) $(DBSQLCFLAGS) -c $*.c -o ./$*.o

0 comments on commit 47a4e68

Please sign in to comment.
You can’t perform that action at this time.