1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

unbreak: USE_GMAKE.

respect CC/CFLAGS.
add missing headers.
This commit is contained in:
FUJISHIMA Satsuki 2001-09-11 22:09:40 +00:00
parent 14f7116e7d
commit 43eff16978
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47719
4 changed files with 36 additions and 12 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= saferpay
PORTVERSION= 1.2.2
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.saferpay.com/download/
DISTFILES= ${PORTNAME}_${PORTVERSION}_linux-g++_src.tar.gz
@ -15,6 +16,7 @@ MAINTAINER= mb@imp.ch
MAKEFILE= ${WRKSRC}/saferpay/Makefile
USE_GMAKE= yes
USE_OPENSSL= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}

View File

@ -1,12 +1,21 @@
--- saferpay/idpapp.mk.orig Thu Dec 14 18:54:02 2000
+++ saferpay/idpapp.mk Mon Jul 30 13:33:48 2001
@@ -11,10 +11,10 @@
CXX = g++
CFLAGS = -pipe -DUNIX -DHAVE_UNISTD_H -DHAVE_STDLIB_H -O2 -fPIC
CXXFLAGS= -pipe -DUNIX -O2 -fPIC
--- saferpay/idpapp.mk.orig Fri Dec 15 02:54:02 2000
+++ saferpay/idpapp.mk Wed Sep 12 07:07:24 2001
@@ -7,14 +7,14 @@
####### Compiler, tools and options
-CC = gcc
-CXX = g++
-CFLAGS = -pipe -DUNIX -DHAVE_UNISTD_H -DHAVE_STDLIB_H -O2 -fPIC
-CXXFLAGS= -pipe -DUNIX -O2 -fPIC
-INCPATH = -I"./xml" -I"./jni" -I"./ssl" -I"./sxfc"
-LINK = g++
+#CC = gcc
+#CXX = g++
+CFLAGS += -DUNIX -DHAVE_UNISTD_H -DHAVE_STDLIB_H -fPIC
+CXXFLAGS+= -DUNIX -fPIC
+INCPATH = -I"./xml" -I"./jni" -I"/usr/include/openssl/" -I"./sxfc"
LINK = g++
+LINK = $(CXX)
LFLAGS = -fPIC -shared -Wl,-soname,libidpapp.so.1
-LIBS = ./ssl/libssl.a ./ssl/libcrypto.a
+LIBS = /usr/lib/libssl.a /usr/lib/libcrypto.a

View File

@ -1,10 +1,21 @@
--- saferpay/saferpay.mk.orig Fri Sep 7 00:16:00 2001
+++ saferpay/saferpay.mk Fri Sep 7 00:16:10 2001
@@ -13,7 +13,7 @@
CXXFLAGS= -pipe -O2
--- saferpay/saferpay.mk.orig Fri Dec 15 02:54:13 2000
+++ saferpay/saferpay.mk Wed Sep 12 07:07:34 2001
@@ -7,13 +7,13 @@
####### Compiler, tools and options
-CC = gcc
-CXX = g++
-CFLAGS = -pipe -O2
-CXXFLAGS= -pipe -O2
+#CC = gcc
+#CXX = g++
+#CFLAGS = -pipe -O2
+#CXXFLAGS= -pipe -O2
INCPATH =
LINK = g++
-LINK = g++
-LFLAGS =
+LINK = $(CXX)
+LFLAGS = -Lout
LIBS = -lidpapp
MOC = $(QTDIR)/bin/moc

View File

@ -1,3 +1,5 @@
include/idpapi.h
include/idperrc.h
lib/libidpapp.so
lib/libidpapp.so.1
bin/saferpay