aboutsummaryrefslogtreecommitdiffstats
path: root/www/fpc-fastcgi
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2012-04-19 14:20:01 +0800
committeracm <acm@FreeBSD.org>2012-04-19 14:20:01 +0800
commit6933f085a2b6e8849c9e5ffbf60c2793bc5f846f (patch)
treeacb385029d3c50ff85c91144eb24703f749489d2 /www/fpc-fastcgi
parente5620a31b04624230db02fc2f5f39b8c4bc87ae4 (diff)
downloadfreebsd-ports-gnome-6933f085a2b6e8849c9e5ffbf60c2793bc5f846f.tar.gz
freebsd-ports-gnome-6933f085a2b6e8849c9e5ffbf60c2793bc5f846f.tar.zst
freebsd-ports-gnome-6933f085a2b6e8849c9e5ffbf60c2793bc5f846f.zip
- Update to 2.6.0
Diffstat (limited to 'www/fpc-fastcgi')
-rw-r--r--www/fpc-fastcgi/Makefile2
-rw-r--r--www/fpc-fastcgi/files/patch-packages-fastcgi_Makefile34
-rw-r--r--www/fpc-fastcgi/pkg-plist2
3 files changed, 36 insertions, 2 deletions
diff --git a/www/fpc-fastcgi/Makefile b/www/fpc-fastcgi/Makefile
index a13e9602b2dc..d46874d01f05 100644
--- a/www/fpc-fastcgi/Makefile
+++ b/www/fpc-fastcgi/Makefile
@@ -12,7 +12,7 @@ PKGNAMESUFFIX= -fastcgi
MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal fastcgi unit
-USE_FPC= yes
+USE_FPC= fpmkunit
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
diff --git a/www/fpc-fastcgi/files/patch-packages-fastcgi_Makefile b/www/fpc-fastcgi/files/patch-packages-fastcgi_Makefile
new file mode 100644
index 000000000000..a5cef75d4514
--- /dev/null
+++ b/www/fpc-fastcgi/files/patch-packages-fastcgi_Makefile
@@ -0,0 +1,34 @@
+--- packages/fastcgi/Makefile 2012-02-24 01:40:44.000000000 -0500
++++ packages/fastcgi/Makefile 2012-02-24 01:42:02.000000000 -0500
+@@ -2057,15 +2057,15 @@
+ endif
+ .NOTPARALLEL:
+ fpmake: fpmake.pp
+- $(FPCFPMAKE) fpmake.pp $(FPMAKE_SKIP_CONFIG) $(addprefix -Fu,$(COMPILER_FPMAKE_UNITDIR))
++ $(FPCFPMAKE) fpmake.pp $(addprefix -Fu,$(COMPILER_FPMAKE_UNITDIR))
+ all: fpmake
+- $(LOCALFPMAKE) compile --localunitdir=../.. --globalunitdir=.. $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC)
++ $(LOCALFPMAKE) compile $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) -o -CX
+ smart: fpmake
+- $(LOCALFPMAKE) compile --localunitdir=../.. --globalunitdir=.. $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) -o -XX -o -CX
++ $(LOCALFPMAKE) compile $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) -o -XX -o -CX
+ release: fpmake
+- $(LOCALFPMAKE) compile --localunitdir=../.. --globalunitdir=.. $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) -o -dRELEASE
++ $(LOCALFPMAKE) compile $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) -o -dRELEASE
+ debug: fpmake
+- $(LOCALFPMAKE) compile --localunitdir=../.. --globalunitdir=.. $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) -o -dDEBUG
++ $(LOCALFPMAKE) compile $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) -o -dDEBUG
+ ifeq ($(FPMAKE_BIN_CLEAN),)
+ clean:
+ else
+@@ -2085,8 +2085,8 @@
+ endif
+ install: fpmake
+ ifdef UNIXHier
+- $(LOCALFPMAKE) install --localunitdir=../.. --globalunitdir=.. $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) --prefix=$(INSTALL_PREFIX) --baseinstalldir=$(INSTALL_LIBDIR)/fpc/$(FPC_VERSION) --unitinstalldir=$(INSTALL_UNITDIR)
++ $(LOCALFPMAKE) install $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) --prefix=$(INSTALL_PREFIX) --baseinstalldir=$(INSTALL_LIBDIR)/fpc/$(FPC_VERSION) --unitinstalldir=$(INSTALL_UNITDIR)
+ else
+- $(LOCALFPMAKE) install --localunitdir=../.. --globalunitdir=.. $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) --prefix=$(INSTALL_BASEDIR) --unitinstalldir=$(INSTALL_UNITDIR)
++ $(LOCALFPMAKE) install $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) --prefix=$(INSTALL_BASEDIR) --unitinstalldir=$(INSTALL_UNITDIR)
+ endif
+ distinstall: install
diff --git a/www/fpc-fastcgi/pkg-plist b/www/fpc-fastcgi/pkg-plist
index 5f60619dd30b..b0d2bf1f5c3c 100644
--- a/www/fpc-fastcgi/pkg-plist
+++ b/www/fpc-fastcgi/pkg-plist
@@ -1,6 +1,6 @@
-lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fastcgi/Package.fpc
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fastcgi/fastcgi.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fastcgi/fastcgi.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fastcgi/fpunits.cfg
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fastcgi/libpfastcgi.a
@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fastcgi
@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%