- Fix build failures that arose from an accidentally omitted -fPIC.
- Portrevision bumped since the change affects all architectures, not just those that were failing. PR: ports/103863 Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer) Reported by: pointyhat
This commit is contained in:
parent
22384908dd
commit
00b24ce00a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174321
2 changed files with 6 additions and 6 deletions
|
@ -10,10 +10,10 @@ PORTNAME= openvpn
|
||||||
# DO NOT BOTHER TO SEND NOTICES ABOUT 2.0.8 AS IT FIXES
|
# DO NOT BOTHER TO SEND NOTICES ABOUT 2.0.8 AS IT FIXES
|
||||||
# WINDOWS-ONLY BUGS THAT DON'T AFFECT *BSD AND THUS
|
# WINDOWS-ONLY BUGS THAT DON'T AFFECT *BSD AND THUS
|
||||||
# DOES NOT WARRANT A PORT UPGRADE! AND UPGRADE REQUESTS
|
# DOES NOT WARRANT A PORT UPGRADE! AND UPGRADE REQUESTS
|
||||||
# WILL BE DROPPED. -- Matthias Andree, 2006-09-13
|
# WILL BE DROPPED. -- Matthias Andree, 2006-10-01
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
PORTVERSION= 2.0.6
|
PORTVERSION= 2.0.6
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES= security net
|
CATEGORIES= security net
|
||||||
# MASTER_SITES points to hosts in distinct data centers,
|
# MASTER_SITES points to hosts in distinct data centers,
|
||||||
# so just one MASTER_SITES entry should be OK.
|
# so just one MASTER_SITES entry should be OK.
|
||||||
|
@ -65,7 +65,7 @@ CONFIGURE_ARGS+= --enable-password-save
|
||||||
|
|
||||||
post-build:
|
post-build:
|
||||||
cd ${WRKSRC}/plugin/down-root && ${MAKE}
|
cd ${WRKSRC}/plugin/down-root && ${MAKE}
|
||||||
cd ${WRKSRC}/plugin/auth-pam && ${CC} ${CFLAGS} ${CPPFLAGS} -I../.. -DDLOPEN_PAM=0 -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.c pamdl.c -lc -lpam
|
cd ${WRKSRC}/plugin/auth-pam && ${CC} ${CPPFLAGS} -I../.. -DDLOPEN_PAM=0 ${CFLAGS} -fPIC -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.c pamdl.c -lc -lpam
|
||||||
@# self-tests here
|
@# self-tests here
|
||||||
.if !defined(WITHOUT_CHECK)
|
.if !defined(WITHOUT_CHECK)
|
||||||
cd ${WRKSRC} && ${MAKE} check
|
cd ${WRKSRC} && ${MAKE} check
|
||||||
|
|
|
@ -10,10 +10,10 @@ PORTNAME= openvpn
|
||||||
# DO NOT BOTHER TO SEND NOTICES ABOUT 2.0.8 AS IT FIXES
|
# DO NOT BOTHER TO SEND NOTICES ABOUT 2.0.8 AS IT FIXES
|
||||||
# WINDOWS-ONLY BUGS THAT DON'T AFFECT *BSD AND THUS
|
# WINDOWS-ONLY BUGS THAT DON'T AFFECT *BSD AND THUS
|
||||||
# DOES NOT WARRANT A PORT UPGRADE! AND UPGRADE REQUESTS
|
# DOES NOT WARRANT A PORT UPGRADE! AND UPGRADE REQUESTS
|
||||||
# WILL BE DROPPED. -- Matthias Andree, 2006-09-13
|
# WILL BE DROPPED. -- Matthias Andree, 2006-10-01
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
PORTVERSION= 2.0.6
|
PORTVERSION= 2.0.6
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES= security net
|
CATEGORIES= security net
|
||||||
# MASTER_SITES points to hosts in distinct data centers,
|
# MASTER_SITES points to hosts in distinct data centers,
|
||||||
# so just one MASTER_SITES entry should be OK.
|
# so just one MASTER_SITES entry should be OK.
|
||||||
|
@ -65,7 +65,7 @@ CONFIGURE_ARGS+= --enable-password-save
|
||||||
|
|
||||||
post-build:
|
post-build:
|
||||||
cd ${WRKSRC}/plugin/down-root && ${MAKE}
|
cd ${WRKSRC}/plugin/down-root && ${MAKE}
|
||||||
cd ${WRKSRC}/plugin/auth-pam && ${CC} ${CFLAGS} ${CPPFLAGS} -I../.. -DDLOPEN_PAM=0 -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.c pamdl.c -lc -lpam
|
cd ${WRKSRC}/plugin/auth-pam && ${CC} ${CPPFLAGS} -I../.. -DDLOPEN_PAM=0 ${CFLAGS} -fPIC -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.c pamdl.c -lc -lpam
|
||||||
@# self-tests here
|
@# self-tests here
|
||||||
.if !defined(WITHOUT_CHECK)
|
.if !defined(WITHOUT_CHECK)
|
||||||
cd ${WRKSRC} && ${MAKE} check
|
cd ${WRKSRC} && ${MAKE} check
|
||||||
|
|
Loading…
Reference in a new issue