aboutsummaryrefslogtreecommitdiff
path: root/lang/ohugs
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-06-27 06:26:06 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-06-27 06:26:06 +0000
commit4278c0ec5842b17f69998b2ddb3a525979a39bbf (patch)
treefce37a7d9428c9be7524865d3ed06181c8bad263 /lang/ohugs
parentf98d14f0730c21068cffe8149facb62e409c6798 (diff)
downloadports-4278c0ec5842b17f69998b2ddb3a525979a39bbf.tar.gz
ports-4278c0ec5842b17f69998b2ddb3a525979a39bbf.zip
Fix build, extra-patch-src_prelude.h was applied in the wrong case
Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=417637
Diffstat (limited to 'lang/ohugs')
-rw-r--r--lang/ohugs/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/ohugs/Makefile b/lang/ohugs/Makefile
index be487f31a508..33ec44fa86dd 100644
--- a/lang/ohugs/Makefile
+++ b/lang/ohugs/Makefile
@@ -29,6 +29,7 @@ LDFLAGS+= -lm -lreadline -lncurses
USES+= tk
CFLAGS+= -I${TK_INCLUDEDIR} -I${TCL_INCLUDEDIR} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -ltk${TK_SHLIB_VER} -ltcl${TCL_SHLIB_VER} -lTix8.4.3
+.else
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_prelude.h
.endif