Bug 17150 - textproc/yodl port fixed/improved
Summary: textproc/yodl port fixed/improved
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: dburr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-03-03 16:00 UTC by root
Modified: 2000-06-09 02:37 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.21 KB, patch)
2000-03-03 16:00 UTC, root
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description root 2000-03-03 16:00:01 UTC
	The port was ignoring the  local setting for CC using cc
	and (!) gcc.  Once I started to change  it, removing the
	dependency on gmake was also fairly simple (the new file
	patches/patch-ab). And I  think I found a way  to get by
	without  the ``weird  contortion''  :-)  of the  current
	version's do-install.

	I notice,  that the dependency on  bash was artificially
	put in --  are we certain our /bin/sh does  not meet the
	POSIX requirements meeting which yodl scripts rely upon?

Fix: +++ Makefile	Fri Mar  3 10:31:26 2000
@@ -21,4 +21,2 @@
 
-USE_GMAKE=	YES
-
 MAN1=		yodl.1 \
@@ -30,16 +28,7 @@
 
-do-build:
-	(cd ${WRKSRC} && ${SETENV} CFLAGS="${CFLAGS}" ${GMAKE} PREFIX=${PREFIX} progs)
-	(cd ${WRKSRC}/misc && gcc ${CFLAGS} -s -o striproff striproff.c)
+ALL_TARGET=	progs manpages misc/striproff
+INSTALL_TARGET=	installman installmanual
 
-# this weird contortion is because the YODL makefile is broken
-# trust me, it works.
-do-install:
-	@${ECHO_MSG} "*** NOTE: any errors from make can be safely ignored."
-	(cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} install)
-	-(cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} manpages)
-	(cd ${WRKSRC}/manpages && ${GMAKE} PREFIX=${PREFIX} manpages)
-	(cd ${WRKSRC}/manpages && ${GMAKE} PREFIX=${PREFIX} MANPREFIX=${PREFIX}/man installman)
-	(cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} installmanual)
-	(cd ${WRKSRC}/misc && ${INSTALL_PROGRAM} striproff ${PREFIX}/bin/striproff)
+post-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/misc/striproff ${PREFIX}/bin/
Comment 1 Ade Lovett freebsd_committer freebsd_triage 2000-03-09 17:53:00 UTC
Responsible Changed
From-To: freebsd-ports->dburr

Over to MAINTAINER. 
Comment 2 Will Andrews freebsd_committer freebsd_triage 2000-06-09 02:36:53 UTC
State Changed
From-To: open->closed

I've fixed and updated this port, thank you very much for 
your contribution!!!