1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Respect CFLAGS.

PR:	50961
Submitted by:	maintainer
This commit is contained in:
Joe Marcus Clarke 2003-04-15 00:54:19 +00:00
parent 3cc3febc23
commit 182a8259c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78993
2 changed files with 11 additions and 4 deletions

View File

@ -20,6 +20,10 @@ MAN1= png2ico.1
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
USE_REINPLACE= yes
post-patch:
${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

View File

@ -1,8 +1,11 @@
--- Makefile.orig Sun Dec 8 14:50:10 2002
+++ Makefile Sun Dec 8 14:50:17 2002
@@ -1,4 +1,4 @@
--- Makefile.orig Sat Dec 7 23:49:52 2002
+++ Makefile Tue Apr 15 02:32:25 2003
@@ -1,6 +1,6 @@
-CPPFLAGS=-W -Wall -O2 -finline-functions
+CPPFLAGS=-W -Wall -O2 -finline-functions -I/usr/local/include -L/usr/local/lib
#CPPFLAGS=-O0 -W -Wall
DEBUG=-g
-DEBUG=-g
+#DEBUG=-g
all: png2ico