Opened 18 years ago
Closed 17 years ago
#11328 closed enhancement (fixed)
p5-dbd-pg variants to support various pgsql installations
Reported by: | ehainry@… | Owned by: | narf_tm@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | narf_tm@… | |
Port: |
Description
I have postgresql81 installed on my machine and when installing p5-dbd-pg, it tried to install postgresql82. As I don't want to have many different postgresql installations, I edited the portfile (:%s/postgresql82/postgresql81/g did the trick).
I would suggest that there are variants for the different postgresql available (as for p5-dbd-mysql)
something like (not tested this syntax)
variant postgresql81 { depends_lib-delete port:postgresql82 depends_lib-append port:postgresql81 configure.env-delete PATH=${prefix}/lib/postgresql82/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/postgresql82" \ POSTGRES_LIB="${prefix}/lib/postgresql82 -lssl" configure.env-append PATH=${prefix}/lib/postgresql81/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/postgresql81" \ POSTGRES_LIB="${prefix}/lib/postgresql81 -lssl" }
Change History (2)
comment:1 Changed 18 years ago by markd@…
Cc: | narf_tm@… added |
---|---|
Owner: | changed from mww@… to narf_tm@… |
comment:2 Changed 17 years ago by narf_tm@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed [25412].
Note: See
TracTickets for help on using
tickets.
Assign to maintainer.