summaryrefslogtreecommitdiff
path: root/biology/chemtool/patches/patch-aa
blob: cf6bd690e05f88cd4cee97755bf1e682071b64bb (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.12 2005/08/26 11:53:32 adam Exp $

--- Makefile.in.orig	2005-01-30 13:09:46.000000000 +0000
+++ Makefile.in
@@ -6,7 +6,7 @@ mandir=@mandir@
 kdedir=@kdemimedir@
 gnomedir=@gnomemimedir@
 CPPFLAGS=@CPPFLAGS@ -I. @GTK_CFLAGS@ @DEFS@ -DLOCALEDIR=\"${localedir}\"
-CFLAGS=-O2 -Wall -Wunused -Wuninitialized @CFLAGS@
+CFLAGS+=-Wall -Wunused -Wuninitialized @CFLAGS@
 CC=@CC@
 CP=@CP@
 RM=@RM@ -f
@@ -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