openbsd-ports/devel/doxygen/patches/patch-src_doxygen_pro_in
eric 85a125dae9 - update to 1.5.4
- use tmake in ports (noticed by okan@)
- hack to strip a path prefix when generating md5 sum of source dir.

ok simon@, landry@
2008-01-06 10:02:59 +00:00

21 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_doxygen_pro_in,v 1.2 2008/01/06 10:02:59 eric Exp $
--- src/doxygen.pro.in.orig Tue Jun 5 21:54:19 2007
+++ src/doxygen.pro.in Wed Dec 19 22:04:12 2007
@@ -18,7 +18,7 @@ TEMPLATE = app.t
CONFIG = console warn_on $extraopts
HEADERS = doxygen.h
SOURCES = main.cpp
-unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lpng -lmd5
+unix:LIBS += -L../lib -L$(LOCALBASE)/lib -ldoxygen -ldoxycfg -lqtools -lpng -lmd5 -liconv -lz
win32:INCLUDEPATH += .
win32-mingw:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lpng -lmd5
win32-msvc:LIBS += qtools.lib png.lib md5.lib doxygen.lib doxycfg.lib shell32.lib iconv.lib
@@ -28,6 +28,7 @@ win32-borland:TMAKE_LFLAGS += -L..\lib -L$(BCB)\lib\ps
win32:TMAKE_CXXFLAGS += -DQT_NODLL
win32-g++:LIBS = -L../lib -ldoxygen -ldoxycfg -lqtools -lpng -lmd5 -liconv
win32-g++:TMAKE_CXXFLAGS += -fno-exceptions -fno-rtti
+TMAKE_CXXFLAGS += $(_CFLAGS)
INCLUDEPATH += ../qtools ../libpng ../libmd5 .
#win32-g++:INCLUDEPATH -= ../libpng
DESTDIR = ../bin