math/rexx-regmath: fix LLD_UNSAFE

PR:		237082
Submitted by:	bob@eager.cx (maintainer)
This commit is contained in:
Steve Wills 2019-04-08 17:42:15 +00:00
parent c2caa41e89
commit 839c5ac993
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498398
2 changed files with 7 additions and 5 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= regmath
PORTVERSION= 1.00
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://home.interlog.com/~ptjm/ \
http://www.ancientgeek.org.uk/distfiles/
@ -14,13 +15,12 @@ COMMENT= Two mathematics libraries for Rexx
LICENSE= MPL10
BUILD_DEPENDS= ${LOCALBASE}/include/rexxsaa.h:lang/rexx-regina
BUILD_DEPENDS= rexx:lang/rexx-regina
USES= zip
WRKSRC= ${WRKDIR}/math
USE_LDCONFIG= yes
LLD_UNSAFE= yes
MAKEFILE= Makefile.bsd
PLIST_FILES= lib/librexxmath.so lib/librxmath.so man/man1/regmath.1.gz

View file

@ -1,11 +1,13 @@
--- Makefile.bsd.orig 2001-11-04 17:09:04 UTC
--- Makefile.bsd.orig 2001-11-04 18:09:04 UTC
+++ Makefile.bsd
@@ -9,7 +9,7 @@
@@ -9,8 +9,8 @@
POPT=-O -fomit-frame-pointer
PLFL=-s
DEBUG=-g
-CFLAGS=$(OPT) $(DEBUG) -pipe -fpic -I $$HOME/regina -pipe
-LDFLAGS=-Bdynamic -Bshareable $(LFL)
+CFLAGS+=$(OPT) $(DEBUG) -pipe -fpic -I $$HOME/regina -pipe -I/usr/local/include
LDFLAGS=-Bdynamic -Bshareable $(LFL)
+LDFLAGS=-Bdynamic -Bshareable $(LFL) -L/usr/lib
LIBS=-lm
so=so
o=o