Force PG client applications to link to non-shared libpgport before linking to libpq.  This insulates applications from changes in libpq's usage of libpgport functions.
Force PG client applications to link to non-shared libpgport before
linking to libpq.  This insulates applications from changes in libpq's
usage of libpgport functions.

Backpatched to 8.0.X.

CraigHarris/gpdb,xuegang/gpdb,edespino/gpdb,50wu/gpdb,techdragon/Postgres-XL,kaknikhil/gpdb,rvs/gpdb,cjcjameson/gpdb,lisakowen/gpdb,rubikloud/gpdb,ahachete/gpdb,arcivanov/postgres-xl,zeroae/postgres-xl,royc1/gpdb,janebeckman/gpdb,tpostgres-projects/tPostgres,Chibin/gpdb,lpetrov-pivotal/gpdb,Postgres-XL/Postgres-XL,foyzur/gpdb,royc1/gpdb,atris/gpdb,atris/gpdb,rubikloud/gpdb,xinzweb/gpdb,lisakowen/gpdb,tangp3/gpdb,postmind-net/postgres-xl,chrishajas/gpdb,greenplum-db/gpdb,arcivanov/postgres-xl,greenplum-db/gpdb,foyzur/gpdb,Quikling/gpdb,tangp3/gpdb,Quikling/gpdb,cjcjameson/gpdb,atris/gpdb,janebeckman/gpdb,janebeckman/gpdb,yazun/postgres-xl,xuegang/gpdb,techdragon/Postgres-XL,zaksoup/gpdb,ashwinstar/gpdb,0x0FFF/gpdb,ovr/postgres-xl,pavanvd/postgres-xl,lintzc/gpdb,tangp3/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,zaksoup/gpdb,adam8157/gpdb,lpetrov-pivotal/gpdb,rvs/gpdb,rvs/gpdb,edespino/gpdb,zeroae/postgres-xl,greenplum-db/gpdb,oberstet/postgres-xl,rvs/gpdb,royc1/gpdb,randomtask1155/gpdb,50wu/gpdb,chrishajas/gpdb,xuegang/gpdb,CraigHarris/gpdb,edespino/gpdb,rubikloud/gpdb,Chibin/gpdb,yuanzhao/gpdb,oberstet/postgres-xl,0x0FFF/gpdb,50wu/gpdb,kmjungersen/PostgresXL,atris/gpdb,edespino/gpdb,techdragon/Postgres-XL,ashwinstar/gpdb,adam8157/gpdb,snaga/postgres-xl,xuegang/gpdb,yazun/postgres-xl,ovr/postgres-xl,janebeckman/gpdb,rubikloud/gpdb,CraigHarris/gpdb,cjcjameson/gpdb,lisakowen/gpdb,ahachete/gpdb,zaksoup/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,chrishajas/gpdb,tpostgres-projects/tPostgres,ashwinstar/gpdb,janebeckman/gpdb,0x0FFF/gpdb,janebeckman/gpdb,janebeckman/gpdb,zeroae/postgres-xl,atris/gpdb,postmind-net/postgres-xl,snaga/postgres-xl,kmjungersen/PostgresXL,rvs/gpdb,lintzc/gpdb,janebeckman/gpdb,Quikling/gpdb,tangp3/gpdb,50wu/gpdb,edespino/gpdb,arcivanov/postgres-xl,ovr/postgres-xl,arcivanov/postgres-xl,lintzc/gpdb,Quikling/gpdb,ovr/postgres-xl,kmjungersen/PostgresXL,adam8157/gpdb,royc1/gpdb,Quikling/gpdb,zaksoup/gpdb,greenplum-db/gpdb,randomtask1155/gpdb,jmcatamney/gpdb,chrishajas/gpdb,ashwinstar/gpdb,kmjungersen/PostgresXL,ahachete/gpdb,zeroae/postgres-xl,adam8157/gpdb,royc1/gpdb,snaga/postgres-xl,pavanvd/postgres-xl,kaknikhil/gpdb,adam8157/gpdb,cjcjameson/gpdb,0x0FFF/gpdb,postmind-net/postgres-xl,tangp3/gpdb,Quikling/gpdb,Chibin/gpdb,Quikling/gpdb,tangp3/gpdb,foyzur/gpdb,kaknikhil/gpdb,ahachete/gpdb,50wu/gpdb,zaksoup/gpdb,cjcjameson/gpdb,pavanvd/postgres-xl,0x0FFF/gpdb,Chibin/gpdb,Postgres-XL/Postgres-XL,atris/gpdb,foyzur/gpdb,zaksoup/gpdb,postmind-net/postgres-xl,lisakowen/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,xuegang/gpdb,tpostgres-projects/tPostgres,kaknikhil/gpdb,ahachete/gpdb,chrishajas/gpdb,janebeckman/gpdb,foyzur/gpdb,lpetrov-pivotal/gpdb,xinzweb/gpdb,xuegang/gpdb,chrishajas/gpdb,yazun/postgres-xl,chrishajas/gpdb,edespino/gpdb,jmcatamney/gpdb,janebeckman/gpdb,jmcatamney/gpdb,Chibin/gpdb,yazun/postgres-xl,rvs/gpdb,Postgres-XL/Postgres-XL,kaknikhil/gpdb,arcivanov/postgres-xl,jmcatamney/gpdb,CraigHarris/gpdb,techdragon/Postgres-XL,CraigHarris/gpdb,lintzc/gpdb,Chibin/gpdb,yuanzhao/gpdb,edespino/gpdb,tangp3/gpdb,Chibin/gpdb,xinzweb/gpdb,cjcjameson/gpdb,lintzc/gpdb,zaksoup/gpdb,yuanzhao/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,adam8157/gpdb,ahachete/gpdb,randomtask1155/gpdb,jmcatamney/gpdb,lisakowen/gpdb,xinzweb/gpdb,lintzc/gpdb,ashwinstar/gpdb,Quikling/gpdb,cjcjameson/gpdb,xuegang/gpdb,Chibin/gpdb,jmcatamney/gpdb,tangp3/gpdb,CraigHarris/gpdb,ovr/postgres-xl,rubikloud/gpdb,lpetrov-pivotal/gpdb,greenplum-db/gpdb,CraigHarris/gpdb,jmcatamney/gpdb,50wu/gpdb,chrishajas/gpdb,snaga/postgres-xl,ahachete/gpdb,yuanzhao/gpdb,rubikloud/gpdb,xinzweb/gpdb,rvs/gpdb,yuanzhao/gpdb,randomtask1155/gpdb,lpetrov-pivotal/gpdb,kaknikhil/gpdb,zaksoup/gpdb,yazun/postgres-xl,arcivanov/postgres-xl,randomtask1155/gpdb,xinzweb/gpdb,50wu/gpdb,lintzc/gpdb,postmind-net/postgres-xl,rvs/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,xuegang/gpdb,CraigHarris/gpdb,royc1/gpdb,randomtask1155/gpdb,0x0FFF/gpdb,foyzur/gpdb,lpetrov-pivotal/gpdb,lpetrov-pivotal/gpdb,0x0FFF/gpdb,zeroae/postgres-xl,greenplum-db/gpdb,rvs/gpdb,oberstet/postgres-xl,pavanvd/postgres-xl,edespino/gpdb,xuegang/gpdb,oberstet/postgres-xl,snaga/postgres-xl,lintzc/gpdb,atris/gpdb,50wu/gpdb,tpostgres-projects/tPostgres,kaknikhil/gpdb,Postgres-XL/Postgres-XL,randomtask1155/gpdb,yuanzhao/gpdb,foyzur/gpdb,adam8157/gpdb,Quikling/gpdb,lisakowen/gpdb,randomtask1155/gpdb,lisakowen/gpdb,foyzur/gpdb,Chibin/gpdb,kaknikhil/gpdb,oberstet/postgres-xl,jmcatamney/gpdb,kaknikhil/gpdb,royc1/gpdb,royc1/gpdb,techdragon/Postgres-XL,atris/gpdb,lpetrov-pivotal/gpdb,edespino/gpdb,edespino/gpdb,rubikloud/gpdb,adam8157/gpdb,lisakowen/gpdb,tpostgres-projects/tPostgres,xinzweb/gpdb,CraigHarris/gpdb,rvs/gpdb,lintzc/gpdb,pavanvd/postgres-xl,kmjungersen/PostgresXL,cjcjameson/gpdb,ahachete/gpdb,Chibin/gpdb,Quikling/gpdb,xinzweb/gpdb,rubikloud/gpdb,cjcjameson/gpdb,ashwinstar/gpdb