1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Update to 3.7

- Fix build

PR:		ports/175848
Submitted by:	pgj
Approved by:	maintainer (timeout)
This commit is contained in:
Gabor Pali 2013-02-23 22:34:57 +00:00
parent 75f0a2d721
commit adb8b7c928
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312857
3 changed files with 21 additions and 4 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= regina
PORTVERSION= 3.5
PORTVERSION= 3.7
CATEGORIES= lang
MASTER_SITES= SF/${PORTNAME}-rexx/${PORTNAME}-rexx/${PORTVERSION}
PKGNAMEPREFIX= rexx-
@ -25,7 +25,7 @@ USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
USE_RC_SUBR= rxstack
MAN1= regina.1
MAN1= regina.1 regina-config.1 rxqueue.1 rxstack.1
post-patch:
@${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure

View File

@ -1,2 +1,2 @@
SHA256 (Regina-REXX-3.5.tar.gz) = c895fda12bb8c07aaac99ffab69444400d9a63a747c1a608d13d3ab8a899003e
SIZE (Regina-REXX-3.5.tar.gz) = 1139805
SHA256 (Regina-REXX-3.7.tar.gz) = 133c9e0fd9e09f9adfc4108f43b727e191e4c4c01711cfa26416799d21d1e7fe
SIZE (Regina-REXX-3.7.tar.gz) = 1156284

View File

@ -0,0 +1,17 @@
--- configure.orig 2012-10-16 06:34:08.000000000 +0200
+++ configure 2013-02-04 21:07:09.000000000 +0100
@@ -8471,7 +8471,13 @@
SHLPRE="lib"
SHL_LD="ld -assert pure-text -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
;;
- *-freebsd* | *openbsd*)
+ *freebsd*)
+ LD_RXLIB_A1="$ac_cv_prog_CC -shared ${LDFLAGS} -o \$(@)"
+ LD_RXLIB_A2="$ac_cv_prog_CC -shared ${LDFLAGS} -o \$(@)"
+ LD_RXLIB_UTILA="$ac_cv_prog_CC -shared ${LDFLAGS} -o \$(@)"
+ SHL_LD="$ac_cv_prog_CC -shared ${LDFLAGS} -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
+ ;;
+ *openbsd*)
if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
LD_RXLIB_A1="$ac_cv_prog_CC -shared ${LDFLAGS} -o \$(@)"
LD_RXLIB_A2="$ac_cv_prog_CC -shared ${LDFLAGS} -o \$(@)"