Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbda4595

Browse files
committed
This is a 2 line patch to src/interfaces/perl5/GNUMakefile that fixes
the 'override CPPFLAGS' to include the source directory during compile,and makes the install target look in the proper place for the man page.Changes are only required when building outside the source directory.J. R. Nield
1 parentdd912c6 commitbda4595

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/interfaces/perl5/GNUmakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Header: /cvsroot/pgsql/src/interfaces/perl5/Attic/GNUmakefile,v 1.8 2002/06/02 21:37:26 momjian Exp $
1+
# $Header: /cvsroot/pgsql/src/interfaces/perl5/Attic/GNUmakefile,v 1.9 2002/08/27 03:57:11 momjian Exp $
22

33
subdir = src/interfaces/perl5
44
top_builddir = ../../..
@@ -12,7 +12,7 @@ perl_installsitelib= $(pkglibdir)
1212
perl_installman3dir=$(mandir)/man3
1313
endif
1414

15-
overrideCPPFLAGS := -I$(libpq_srcdir) -I$(top_srcdir)/src/include$(CPPFLAGS) -I$(perl_archlibexp)/CORE
15+
overrideCPPFLAGS := -I$(libpq_srcdir) -I$(top_srcdir)/src/include$(CPPFLAGS) -I$(perl_archlibexp)/CORE -I$(top_srcdir)/$(subdir)
1616
overrideCFLAGS +=$(CFLAGS_SL)
1717
overrideCPPFLAGS+=-DXS_VERSION=\"$(shell sed -n "s/\$$.*::VERSION.*=.*'\(.*\)';/\1/p"$(srcdir)/Pg.pm)\"
1818

@@ -74,7 +74,7 @@ install: all installdirs
7474
$(INSTALL_DATA) Pg.bs$(DESTDIR)$(perl_installsitearch)/auto/Pg;\
7575
$(INSTALL_SHLIB)$(shlib)$(DESTDIR)$(perl_installsitearch)/auto/Pg/Pg$(DLSUFFIX);\
7676
$(INSTALL_DATA) auto/Pg/autosplit.ix$(DESTDIR)$(perl_installsitearch)/auto/Pg;\
77-
$(INSTALL_DATA)$(srcdir)/Pg.$(perl_man3ext)$(DESTDIR)$(perl_installman3dir);\
77+
$(INSTALL_DATA) Pg.$(perl_man3ext)$(DESTDIR)$(perl_installman3dir);\
7878
else\
7979
$(install-warning-msg);\
8080
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp