- Fix PGSQL support
PR: ports/77705 Submitted by: Andrew Thompson <andy@fud.org.nz> (maintainer)
This commit is contained in:
parent
44c3dabe69
commit
10e471b0d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129314
8 changed files with 88 additions and 0 deletions
11
net/freeradius/files/patch-Make.inc.in
Normal file
11
net/freeradius/files/patch-Make.inc.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Make.inc.in.orig Sat Feb 19 14:33:58 2005
|
||||
+++ Make.inc.in Sat Feb 19 14:33:07 2005
|
||||
@@ -25,7 +25,7 @@
|
||||
CC = @CC@
|
||||
RANLIB = @RANLIB@
|
||||
INCLUDE =
|
||||
-CFLAGS = $(INCLUDE) @CFLAGS@ @LFS_CFLAGS@
|
||||
+CFLAGS = $(INCLUDE) @CFLAGS@ @CPPFLAGS@ @LFS_CFLAGS@
|
||||
LIBPREFIX = @LIBPREFIX@
|
||||
EXEEXT = @EXEEXT@
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
--- src/modules/rlm_ippool/Makefile.in.orig Sat Feb 19 14:57:57 2005
|
||||
+++ src/modules/rlm_ippool/Makefile.in Sat Feb 19 14:58:28 2005
|
||||
@@ -9,7 +9,7 @@
|
||||
include ../rules.mak
|
||||
|
||||
rlm_ippool_tool: rlm_ippool_tool.o
|
||||
- $(LIBTOOL) --mode=link $(CC) $^ $(LIBS) $(RLM_LIBS) -o $@
|
||||
+ $(LIBTOOL) --mode=link $(CC) $^ $(LDFLAGS) $(LIBS) $(RLM_LIBS) -o $@
|
||||
|
||||
rlm_ippool_tool.8: rlm_ippool_tool.pod
|
||||
pod2man --release=" " --date="October 2nd, 2003" --center="FreeRADIUS Daemon" --section=8 rlm_ippool_tool.pod > rlm_ippool_tool.8
|
11
net/freeradius/files/patch-src::modules::rlm_sql::rules.mak
Normal file
11
net/freeradius/files/patch-src::modules::rlm_sql::rules.mak
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/modules/rlm_sql/drivers/rules.mak.orig Sat Feb 19 15:07:59 2005
|
||||
+++ src/modules/rlm_sql/drivers/rules.mak Sat Feb 19 15:08:22 2005
|
||||
@@ -93,7 +93,7 @@
|
||||
$(TARGET).la: $(DYNAMIC_OBJS)
|
||||
$(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
|
||||
-module $(LINK_MODE) $(CFLAGS) \
|
||||
- $(RLM_SQL_CFLAGS) -o $@ -rpath $(libdir) $^ $(RLM_SQL_LIBS)
|
||||
+ $(RLM_SQL_CFLAGS) -o $@ -rpath $(libdir) $^ $(LDFLAGS) $(RLM_SQL_LIBS)
|
||||
|
||||
#######################################################################
|
||||
#
|
11
net/freeradius/files/patch-src::modules::rules.mak
Normal file
11
net/freeradius/files/patch-src::modules::rules.mak
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/modules/rules.mak.orig Sat Feb 19 14:43:30 2005
|
||||
+++ src/modules/rules.mak Sat Feb 19 14:45:14 2005
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
$(TARGET).la: $(DYNAMIC_OBJS)
|
||||
$(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
|
||||
- -module $(LINK_MODE) $(CFLAGS) $(RLM_CFLAGS) $(RLM_LDFLAGS) \
|
||||
+ -module $(LINK_MODE) $(CFLAGS) $(RLM_CFLAGS) $(LDFLAGS) $(RLM_LDFLAGS) \
|
||||
-o $@ -rpath $(libdir) $^ $(RLM_LIBS) $(LIBS)
|
||||
|
||||
#######################################################################
|
11
net/freeradius2/files/patch-Make.inc.in
Normal file
11
net/freeradius2/files/patch-Make.inc.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Make.inc.in.orig Sat Feb 19 14:33:58 2005
|
||||
+++ Make.inc.in Sat Feb 19 14:33:07 2005
|
||||
@@ -25,7 +25,7 @@
|
||||
CC = @CC@
|
||||
RANLIB = @RANLIB@
|
||||
INCLUDE =
|
||||
-CFLAGS = $(INCLUDE) @CFLAGS@ @LFS_CFLAGS@
|
||||
+CFLAGS = $(INCLUDE) @CFLAGS@ @CPPFLAGS@ @LFS_CFLAGS@
|
||||
LIBPREFIX = @LIBPREFIX@
|
||||
EXEEXT = @EXEEXT@
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
--- src/modules/rlm_ippool/Makefile.in.orig Sat Feb 19 14:57:57 2005
|
||||
+++ src/modules/rlm_ippool/Makefile.in Sat Feb 19 14:58:28 2005
|
||||
@@ -9,7 +9,7 @@
|
||||
include ../rules.mak
|
||||
|
||||
rlm_ippool_tool: rlm_ippool_tool.o
|
||||
- $(LIBTOOL) --mode=link $(CC) $^ $(LIBS) $(RLM_LIBS) -o $@
|
||||
+ $(LIBTOOL) --mode=link $(CC) $^ $(LDFLAGS) $(LIBS) $(RLM_LIBS) -o $@
|
||||
|
||||
rlm_ippool_tool.8: rlm_ippool_tool.pod
|
||||
pod2man --release=" " --date="October 2nd, 2003" --center="FreeRADIUS Daemon" --section=8 rlm_ippool_tool.pod > rlm_ippool_tool.8
|
11
net/freeradius2/files/patch-src::modules::rlm_sql::rules.mak
Normal file
11
net/freeradius2/files/patch-src::modules::rlm_sql::rules.mak
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/modules/rlm_sql/drivers/rules.mak.orig Sat Feb 19 15:07:59 2005
|
||||
+++ src/modules/rlm_sql/drivers/rules.mak Sat Feb 19 15:08:22 2005
|
||||
@@ -93,7 +93,7 @@
|
||||
$(TARGET).la: $(DYNAMIC_OBJS)
|
||||
$(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
|
||||
-module $(LINK_MODE) $(CFLAGS) \
|
||||
- $(RLM_SQL_CFLAGS) -o $@ -rpath $(libdir) $^ $(RLM_SQL_LIBS)
|
||||
+ $(RLM_SQL_CFLAGS) -o $@ -rpath $(libdir) $^ $(LDFLAGS) $(RLM_SQL_LIBS)
|
||||
|
||||
#######################################################################
|
||||
#
|
11
net/freeradius2/files/patch-src::modules::rules.mak
Normal file
11
net/freeradius2/files/patch-src::modules::rules.mak
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/modules/rules.mak.orig Sat Feb 19 14:43:30 2005
|
||||
+++ src/modules/rules.mak Sat Feb 19 14:45:14 2005
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
$(TARGET).la: $(DYNAMIC_OBJS)
|
||||
$(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
|
||||
- -module $(LINK_MODE) $(CFLAGS) $(RLM_CFLAGS) $(RLM_LDFLAGS) \
|
||||
+ -module $(LINK_MODE) $(CFLAGS) $(RLM_CFLAGS) $(LDFLAGS) $(RLM_LDFLAGS) \
|
||||
-o $@ -rpath $(libdir) $^ $(RLM_LIBS) $(LIBS)
|
||||
|
||||
#######################################################################
|
Loading…
Reference in a new issue