summaryrefslogtreecommitdiff
path: root/biology/chemtool/patches/patch-aa
blob: 2ab68178265b09b862ac3d83b96371e985029ff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.11 2004/06/11 13:22:36 grant Exp $

--- Makefile.in.orig	2003-05-11 23:02:15.000000000 +1000
+++ Makefile.in
@@ -5,7 +5,7 @@ localedir=@localedir@
 mandir=@mandir@
 kdedir=@kdemimedir@
 gnomedir=@gnomemimedir@
-CFLAGS=-O2 -Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` @DEFS@ -DLOCALEDIR=\"${localedir}\"
+CFLAGS+=-Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` @DEFS@ -DLOCALEDIR=\"${localedir}\"
 
 CC=@CC@
 CP=/bin/cp
@@ -33,7 +33,8 @@ lint: ${SRCS}
 	splint -weak -initallelements +posixlib `gtk-config --cflags` -I. ${SRCS} >splint.log
 
 install: chemtool src-cht/cht
-	${INSTALL} -d ${DESTDIR}${prefix}/bin ${DESTDIR}${mandir}/man1
+	${INSTALL} -d ${DESTDIR}${prefix}/bin
+	${INSTALL} -d ${DESTDIR}${mandir}/man1
 	${INSTALL} chemtool src-cht/cht ${DESTDIR}${prefix}/bin
 	$(INSTALL) chemtool.1 ${DESTDIR}${mandir}/man1
 	$(INSTALL) cht.1 ${DESTDIR}${mandir}/man1