openbsd-ports/devel/asp2php/patches/patch-Makefile
shell c1aaf3d06f Upgrade to 0.75.17
New MASTER_SITE
2001-07-10 03:48:54 +00:00

27 lines
866 B
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2001/07/10 03:48:54 shell Exp $
--- Makefile.orig Mon Jul 9 02:54:24 2001
+++ Makefile Mon Jul 9 02:55:51 2001
@@ -1,5 +1,6 @@
-CC=gcc
+CC+= ${CFLAGS}
+BINDIR= ${PREFIX}/bin
default:
$(CC) -c conditionals.c -Wall
@@ -44,10 +45,10 @@
$(CC) -o unipiss unipiss.c html.o general.o -Wall
install:
- @if [ -e asp2php ]; then install asp2php /usr/local/bin; fi;
- @if [ -e unipiss ]; then install unipiss /usr/local/bin; fi;
- @if [ -e gtkasp2php ]; then install gtkasp2php /usr/local/bin; fi;
- @echo "Compiled programs have been installed in /usr/local/bin"
+ @if [ -e asp2php ]; then install asp2php ${BINDIR}; fi;
+ @if [ -e unipiss ]; then install unipiss ${BINDIR}; fi;
+ @if [ -e gtkasp2php ]; then install gtkasp2php ${BINDIR}; fi;
+ @echo "Compiled programs have been installed in ${BINDIR}"
@echo ""
all: default