Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a0f95ac

Browse files
committed
Fix portname defines in Makefiles.
1 parent 56bdbe1 commit a0f95ac

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

src/interfaces/libpgtcl/Makefile.in

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.16 1998/06/12 18:36:40 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.17 1998/06/15 21:01:46 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -33,7 +33,7 @@ shlib :=
3333

3434
LIBPQ = -L$(SRCDIR)/interfaces/libpq -lpq
3535

36-
ifeq ($(PORTNAME), linux)
36+
ifeq ($(PORTNAME), linux_i386)
3737
install-shlib-dep := install-shlib
3838
shlib := libpgtcl.so.1
3939
CFLAGS += $(CFLAGS_SL)
@@ -49,14 +49,14 @@ ifeq ($(PORTNAME), bsd)
4949
endif
5050
endif
5151

52-
ifeq ($(PORTNAME), i386_solaris)
52+
ifeq ($(PORTNAME), solaris_i386)
5353
install-shlib-dep := install-shlib
5454
shlib := libpgtcl.so.1
5555
LDFLAGS_SL = -G -z text
5656
CFLAGS += $(CFLAGS_SL)
5757
endif
5858

59-
ifeq ($(PORTNAME), sparc_solaris)
59+
ifeq ($(PORTNAME), solaris_sparc)
6060
install-shlib-dep := install-shlib
6161
shlib := libpgtcl.so.1
6262
LDFLAGS_SL = -G

src/interfaces/libpq++/Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.16 1998/04/06 16:52:36 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.17 1998/06/15 21:01:48 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -42,16 +42,16 @@ OBJS = pgenv.o pgconnection.o pgtransdb.o pgcursordb.o pglobject.o
4242
# Shared library stuff
4343
SHLIB :=
4444
INSTALL-SHLIB-DEP :=
45-
ifeq ($(PORTNAME), i386_solaris)
45+
ifeq ($(PORTNAME), linux_i386)
4646
INSTALL-SHLIB-DEP := install-shlib
4747
SHLIB := libpq++.so.1
48-
LDFLAGS_SL = -G -z text -shared -soname $(SHLIB)
48+
LDFLAGS_SL = -shared -soname $(SHLIB)
4949
CFLAGS += $(CFLAGS_SL)
5050
endif
51-
ifeq ($(PORTNAME), linux)
51+
ifeq ($(PORTNAME), solaris_i386)
5252
INSTALL-SHLIB-DEP := install-shlib
5353
SHLIB := libpq++.so.1
54-
LDFLAGS_SL = -shared -soname $(SHLIB)
54+
LDFLAGS_SL = -G -z text -shared -soname $(SHLIB)
5555
CFLAGS += $(CFLAGS_SL)
5656
endif
5757
ifeq ($(PORTNAME), hpux)

src/interfaces/libpq/Makefile.in

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.19 1998/06/12 18:36:42 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.20 1998/06/15 21:01:47 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -31,7 +31,7 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
3131
# Shared library stuff
3232
shlib :=
3333
install-shlib-dep :=
34-
ifeq ($(PORTNAME), linux)
34+
ifeq ($(PORTNAME), linux_i386)
3535
install-shlib-dep := install-shlib
3636
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
3737
LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION)
@@ -45,13 +45,13 @@ ifeq ($(PORTNAME), bsd)
4545
CFLAGS += $(CFLAGS_SL)
4646
endif
4747
endif
48-
ifeq ($(PORTNAME), i386_solaris)
48+
ifeq ($(PORTNAME), solaris_i386)
4949
install-shlib-dep := install-shlib
5050
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
5151
LDFLAGS_SL = -G -z text
5252
CFLAGS += $(CFLAGS_SL)
5353
endif
54-
ifeq ($(PORTNAME), sparc_solaris)
54+
ifeq ($(PORTNAME), solaris_sparc)
5555
install-shlib-dep := install-shlib
5656
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
5757
LDFLAGS_SL = -G

0 commit comments

Comments
 (0)