aboutsummaryrefslogtreecommitdiff
path: root/www/fpc-fastcgi
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2012-04-19 06:20:01 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2012-04-19 06:20:01 +0000
commit0fde88adba7ff63fa7587d39f587c77e25b83f7c (patch)
treee20487dbc589d6b63d56d16423f2a75bdcc5d4e9 /www/fpc-fastcgi
parent5ab903e5a5d7717ff66a2ef5f8446adeb88a2e2d (diff)
downloadports-0fde88adba7ff63fa7587d39f587c77e25b83f7c.tar.gz
ports-0fde88adba7ff63fa7587d39f587c77e25b83f7c.zip
Notes
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%%